Commit Graph
84 Commits
Author SHA1 Message Date
The_E 4bfa3673f6 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 8d728672e2 Cases of commented out Int3() indicate areas of old, redundant code. 2011-11-17 11:07:53 +00:00
Echelon9 d286530ed4 Documentation: Code cleanup in graphics/bmpman 2011-11-09 12:12:33 +00:00
Echelon9 1717d171fb Documentation: General code cleanup for 64bit 2011-11-05 08:12:04 +00:00
Zacam bc400c5d97 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 af1d8b05ee Enable alpha channel on render to texture targets and provide scripting functions with alpha capabilities 2011-09-01 16:16:03 +00:00
Swifty a8472b96b6 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 8193164fae Taylor's fix for Mantis 2172 2010-12-03 17:44:23 +00:00
The_E 5136c0df98 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 58ad43cff1 go_faster from Antipodes 6. Everybody, say "Thank you, taylor!" 2010-10-18 18:32:37 +00:00
The_E 15869aae76 Another Assert()->Assertion(). 2010-09-17 20:59:39 +00:00
taylor 14680469a2 no comment. (nothing nice to say) 2010-03-10 10:05:42 +00:00
Hery 2111df1543 Fix for bloom using outdated mipmaps 2010-01-05 17:51:57 +00:00
portej05 cd3f71b94c Antipodes #4 - Post Processing from Hery 2009-12-14 13:57:33 +00:00
portej05 6bc7f30d78 safe_strings - from Antipodes build #1 2009-07-27 16:06:24 +00:00
portej05 d8079622b6 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 2a09ecc89b 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 3d882677a0 merge from wanderer branch. 2d and 3d radar images support 2009-05-18 22:08:13 +00:00
chief1983 24a2449a76 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 b0731b7769 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 68293d8c96 some minor mprintf() cleanup 2008-03-28 03:32:38 +00:00
taylor 11ca1ef4a8 move stable branch to the primary under trunk 2008-03-16 16:25:19 +00:00
taylor eb8c44c2a0 move HEAD to it's own dir under trunk 2008-03-16 16:21:11 +00:00
Goober5000 4811257f31 revert the directory move 2008-02-09 21:33:46 +00:00
Goober5000 8909d048b3 remove extraneous fs2_open folder from all branches and tags 2008-02-09 19:21:05 +00:00
taylor cbbf58dce6 get rid of some old/obsolete items (Mantis #1489 and #1497) 2007-10-04 16:18:46 +00:00
taylor be30cf09ce some generic code cleanup 2007-03-22 20:50:28 +00:00
taylor 5f77a8a109 general cleanup
deal with -img2dds error issue
2007-02-11 18:34:56 +00:00
taylor b3fccca4c0 fixup texture addressing stuff so that it works better
bits of cleanup
remove non-dark support
support for releasing bitmap system memory when transfered to API memory
2007-01-10 01:48:32 +00:00
taylor ba76499df8 various bits of cleanup
fix for anistotropic filtering messing up with lod bias
be sure that we always reset the properly active texture
get rid of old gamma stuff
loading fix for cubemaps
disable apple_client_storage for now
fix for ATI problem with framebuffers and corrupting starfield bitmaps
2007-01-07 13:05:21 +00:00
taylor 2768d08bed fix for setting of texture lod bias 2006-08-09 14:42:24 +00:00
taylor 344858d68b 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 43d4470b19 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 399c4f3a21 fix so that multiple FBOs can be used with different sizes (plus a few other minor adjustments)
fix various things that Valgrind complained about
2006-06-27 05:03:42 +00:00
taylor e1a83a1535 fix Assert() on value of face variable, it should be able to be -1 for non-cubemap images 2006-06-15 00:36:33 +00:00
taylor 789389efe3 don't Int3() here, it's actually going to happen in some cases when using -img2dds 2006-06-05 23:59:33 +00:00
taylor e137882c77 OpenGL envmap support
newer OpenGL extension support
add GL_ARB_texture_rectangle support for non-power-of-2 textures as interface graphics
add cubemap reading and writing support to DDS loader
fix bug in DDS loader that made compressed images with mipmaps use more memory than they really required
add support for a default envmap named "cubemap.dds"
new mission flag "$Environment Map:" to use a pre-existing envmap
minor cleanup of compiler warning messages
get rid of wasteful math from gr_set_proj_matrix()
remove extra gr_set_*_matrix() calls from starfield.cpp as there was no longer a reason for them to be there
clean up bmpman flags in reguards to cubemaps and render targets
disable D3D envmap code until it can be upgraded to current level of code
remove bumpmap code from OpenGL stuff (sorry but it was getting in the way, if it was more than copy-paste it would be worth keeping)
replace gluPerspective() call with glFrustum() call, it's a lot less math this way and saves the extra function call
2006-05-13 07:29:52 +00:00
taylor d71387ba9b some cleanup and slight reorg
- remove special uv offsets for non-standard res, they were stupid anyway and don't actually fix the problem (which should actually be fixed now)
 - avoid some costly math where possible in the drawing functions
 - add opengl_error_string(), this is part of a later update but there wasn't a reason to not go ahead and commit this peice now
 - minor cleanup to Win32 extension defines
 - make opengl_lights[] allocate only when using OGL
 - cleanup some costly per-frame lighting stuff
 - clamp textures for interface and aabitmap (font) graphics since they shouldn't normally repeat anyway (the default)
   (doing this for D3D, if it doesn't already, may fix the blue-lines problem since a similar issue was seen with OGL)
2006-04-12 01:10:35 +00:00
taylor 2d61680691 bits of cleanup
minor fixes for -img2dds
2006-04-06 23:23:56 +00:00
taylor d288d1a25e if -mipmap is used with -img2dds to then have compressed image also contain mipmaps
use nicest hints for texture compression, should improve quality a little
when reporting compressed sizes to debug log make ani size be total, not per frame
2006-03-22 18:14:52 +00:00
taylor a6d2bc92d9 couple of nitpicks 2006-03-15 17:33:05 +00:00
taylor 8d278275c2 when I forget that I'm an idiot little things like this slip through (me == moron) 2006-03-12 07:34:39 +00:00
taylor 96c6bdacec better lighting for OpenGL
remove some extra stuff that was from sectional bitmaps since we don't need it anymore
2006-01-30 06:52:15 +00:00
taylor b18cf46162 be sure to account for skipped mipmap levels in calculation of textures in VRAM 2006-01-14 06:23:39 +00:00
wmcoolmon d6a9bc8b97 Even more scripting stuff. 2006-01-12 17:42:56 +00:00
taylor 6a6101a250 oops, should have been checking my logs on that one, fixes minor GL error 2006-01-03 22:46:52 +00:00
taylor 5b2fc86332 fix a couple of minor mipmap problems
add resizing with mipmaps rather than a physical change in memory when detail levels dictate scaling (maybe this won't blow up)
2006-01-03 02:59:14 +00:00
taylor 6e6ed4cd76 handle case where we make an atexit (on failure) flush call before the texture system is initted 2005-12-29 00:00:18 +00:00
taylor f5bb9d1092 add support for glCompressedTexSubImage2D(), we don't use it yet but there is nothing wrong with adding it already
better support for mipmaps and mipmap filtering
add reg option "TextureFilter" to set bilinear or trilinear filter
clean up bitmap_id/bitmap_handle/texture_handle madness that made things difficult to understand
small fix for using 24-bit images on 16-bit bpp visual (untested)
2005-12-28 22:28:44 +00:00
taylor ed324d0c54 "House Keeping!!"
- minor cleanup of things that have bothered me at one time or another
  - slight speedup from state switching
  - slightly better specmap handling, fixes a couple of (not frequent) strange and sorta random issues
  - make sure to only disable HTL arb stuff when in HTL mode
  - handle any extra lighting pass before spec pass so the light can be applied properly
2005-12-16 06:48:28 +00:00