SamuelCho
236857ed37
Changed bitmap_lookup to use ubyte instead of floats for the color channels. Should make reading bitmaps faster.
2015-12-07 22:59:28 -08:00
Goober5000
bbad1c2159
more const-correctness per PR comments
2015-10-29 09:34:18 -04:00
Goober5000
bd3cd7eb18
Merge pull request #195 from Echelon9/fix/sort-uniq-includes
...
Review and refactor #include's
2015-08-19 00:05:02 -04:00
Echelon9
eda6f33d77
Fix: graphics/gropenglbmpman.cpp:561:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
2015-07-06 21:41:31 +10:00
Echelon9
4e6f525f7c
Simplify duplicative graphics/ includes.
2015-06-22 20:24:30 +10:00
Echelon9
c5493bb480
Scripted sort and uniq on (internal) project includes. Improves search time and as a by product removed a number of duplicative includes.
2015-06-22 20:24:30 +10:00
Swifty
c620372357
Soft shadows, deferred lighting, and various major graphics optimizations.
2015-05-02 14:35:37 -07:00
zookeeper
1d55b98017
Added a little extra info to two bmpman errors.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11160 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-28 22:04:56 +10:00
Goober5000
4bd10888ff
make localization more robust with additional checks on string length, more consting, and stronger typing and make XSTR const, since we don't want to modify the strings it translates and then CONST ALL THE THINGS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9809 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:34 +10:00
Valathil
aa5f42f1f1
Fix for Mantis 2709: Use the correct dimensions for updating texture images when texture streaming to fix crashes on hardware not capable of handling non power of 2 texture dimensions
2012-09-25 19:11:05 +00:00
Valathil
48e0517e0d
Allow generic_anim's to reuse bmpman and texture_cache slots and implement eff streaming. Changed talking heads to use generic_anim. Fixes Mantis 2417
2012-08-14 23:48:23 +00:00
IssMneur
ea75b099ff
From jg18: Allow FSO to actually fetch the max anisotropy value rather than hard capping at 2.0.
2012-05-17 03:10:12 +00:00
Echelon9
dc4371680a
Clear a whole set of LLVM warnings - some of these would have caused memory fubars, so should marginally improve stability
2012-01-15 08:08:15 +00:00
The_E
41d68f3aca
From m|m: Fix for Mantis 2400 (RTT rendering broken in current builds). Also changes GL_rendering_to_framebuffer to the more aptly named GL_rendering_to_texture.
2011-12-23 13:09:39 +00:00
Echelon9
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
Echelon9
9e127ca7f9
Documentation: Code cleanup in graphics/bmpman
2011-11-09 12:12:33 +00:00
Echelon9
9f711bf53e
Documentation: General code cleanup for 64bit
2011-11-05 08:12:04 +00:00
Zacam
9678d18bc3
Part One: Synchronization pass of Trunk and Antipodes Differences.
...
Whitespace/tab mostly.
aicode does have a change of an Int3 to an Assertion.
bmpman has an update to bm_next_handle.
2011-09-09 09:37:45 +00:00
Valathil
a67f2d4f29
Enable alpha channel on render to texture targets and provide scripting functions with alpha capabilities
2011-09-01 16:16:03 +00:00
Swifty
4a9e605e56
Support for PNG/JPG/TGA based EFFs for the HUD and other graphics that previously required ANI/PCX.
2011-01-05 08:54:14 +00:00
The_E
60ac096301
Taylor's fix for Mantis 2172
2010-12-03 17:44:23 +00:00
The_E
9441cc7eef
Okay, I'm disabling this Int3(). It's far too easy to hit, even with perfectly valid data.
2010-12-02 21:06:32 +00:00
Zacam
75043ff5b1
go_faster from Antipodes 6. Everybody, say "Thank you, taylor!"
2010-10-18 18:32:37 +00:00
The_E
3617bb9809
Another Assert()->Assertion().
2010-09-17 20:59:39 +00:00
taylor
d36f675f50
no comment. (nothing nice to say)
2010-03-10 10:05:42 +00:00
Hery
c0b2e1b1ec
Fix for bloom using outdated mipmaps
2010-01-05 17:51:57 +00:00
portej05
cf3a4975da
Antipodes #4 - Post Processing from Hery
2009-12-14 13:57:33 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
6a8d45c93d
Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
...
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
Wanderer
cabc75bfe5
merge from wanderer branch. 2d and 3d radar images support
2009-05-18 22:08:13 +00:00
chief1983
51a6901dae
OpenGL tweaks from Taylor's 3610 patch and a big fix for OS X graphics - Thanks Echelon9!
2009-01-03 02:39:11 +00:00
taylor
9231692e48
basic commit of a few Xt tree changes
...
- updated OpenGL code (basic shader support, etc.)
- new ships lab code
- scripting RTT fixes
- don't let FRED hog CPU time
2008-07-16 02:49:19 +00:00
taylor
461922f046
some minor mprintf() cleanup
2008-03-28 03:32:38 +00:00
taylor
5188a848ea
get rid of some old/obsolete items (Mantis #1489 and #1497 )
2007-10-04 16:18:46 +00:00
taylor
ddda5bcc9f
some generic code cleanup
2007-03-22 20:50:28 +00:00
taylor
960754fe13
remove some dead code
...
general cleanup
fix issues with texture state changes not affecting things properly
fix stupid texture addressing thing that I had done a long time ago
deal with -img2dds error issue
2007-02-11 10:03:29 +00:00
taylor
fd87e59d93
wurrps, someone besides me might actually want to use that ;)
2006-12-27 09:24:31 +00:00
taylor
5a4332c3a8
lots of little cleanup, stale code removal, and small performance adjustments
...
get rid of the default combine texture state, we don't need it in general, and it can screw up fonts
get rid of the secondary color support, it doesn't do much in non-HTL mode, screws up various things, and has long since been obsolete but material setup
get rid of the old gamma setup, it actually conflicts with newer gamma support
default texture wrapping to edge clamp
do second gr_clear() on init to be sure and catch double-buffer
make sure that our active texture will always get reset to 0, rather than leaving it at whatever was used last
fixed that damn FBO bug from it hanging on textures and causing some rendering errors for various people
only lock verts once in HTL model rendering
2006-12-26 05:25:18 +00:00
taylor
dbc1fb0417
get rid of "vram_full", it can never actually be full the way the code works, so having this is redundant
...
comment out APPLE_client_storage extension usage, I think this was messing some stuff up on OS X and causing memory errors
fix handling of cubemap data so that they can be read properly (can't believe it took so long to notice to an obvious and stupid bug)
be sure to un-bind textures during preload to avoid freaky little errors later
ifdef an error message from the framebuffer error code, Apple doesn't have this one define in their headers for some reason
2006-12-07 18:14:49 +00:00
taylor
36190d92e7
some minor cleanup to anisotropy setting
...
only use negative lod bias when not using anisotropy to help avoid shimmering
stick lod bias setting in with anisotropy function
2006-08-12 13:14:45 +00:00
taylor
ef010994f2
fix for setting of texture lod bias
2006-08-09 14:42:24 +00:00
taylor
700a4958e3
maybe this will finally shut-up some of the people who have complained about certain mipmap issues
2006-07-17 01:11:32 +00:00
taylor
9daca5f555
change clamp mode for font/interface graphics, don't want the border factored in for scaling/filtering
2006-07-15 06:11:27 +00:00
taylor
fc765d5e29
fix various things that Valgrind has been complaining about
2006-06-22 14:59:45 +00:00
taylor
fb11c6d1bd
as a temporary measure, until I can figure out what is going on here:
...
- disable depth buffer for RTT, may be causing the ATI issues, should work ok without it for most things
- disable mipmap generation for RTT, something strange is going on there, it's sometimes making black mipmap levels (even for the same texture)
2006-06-19 22:50:58 +00:00
taylor
4d5d947451
fix so that multiple FBOs can be used with different sizes (plus a few other minor adjustments)
2006-06-18 16:49:40 +00:00
taylor
f9615c21e8
fix Assert() on value of face variable, it should be able to be -1 for non-cubemap images
2006-06-15 00:15:17 +00:00
taylor
ca5b63540d
sync current OGL changes:
...
- go back to using minimize mode which non-active, but doin't minimize when Fred_running
- remove temporary cmdline options (-spec_scale, -env_scale, -alpha_alpha_blend)
- change FBO renderbuffer link around a little to maybe avoid freaky drivers (or freaky code)
2006-06-12 03:37:24 +00:00
taylor
326788332a
don't Int3() here, it's actually going to happen in some cases when using -img2dds
2006-06-05 23:59:33 +00:00