Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Fri Feb 28 06:28:20 EST 2003


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2003-02-28 11:28:20 UTC

Log message:

lights now have an orientation (this isn't editable yet, and is infact not really supported for rotated lights at the moment, their bbox would need to be rotated)
lights now use bbox culling instead of radius (because they aren't round in 2D texture mode)
fixed LOTS of light culling bugs (particularly with surface selection)
fixed scissor to be more efficient (smaller) when easily done (entirely infront of view) and fixed some bugs
got rid of ShadowSphere code in gl_rmain.c (it was not used)
added back RadiusFromBounds (and optimized it) and added RadiusFromBoundsAndOrigin
removed trailing whitespace in mathlib.c
added BoxesOverlap macro to mathlib.h
fixed a portal-flow bug when a light lies directly inside a portal polygon (now checks both leafs involved, very mild search tolerance for leafs around the light)
added back 3d attenuation texture (true spherical lights make a return, r_shadow_texture3d cvar controls this)
fixed light-bleeding in attenuation textures at the edges (fixed a bug in the biasing during texture generation, now the edge is always black as it should be)
realtime lighting texture generation (attenuation/normalizationcubemap) now has some macros for more easily adjusting texture resolutions
reduced resolution of attenuation and normalization textures
added a bunch more rendering paths for diffuse and specular lighting, to reduce number of passes in a few cases (and allow use of 3D attenuation texture)

Modified files:
     gl_models.c gl_rmain.c gl_rsurf.c mathlib.c mathlib.h
     model_alias.c model_brush.c model_shared.h portals.c r_shadow.c
     r_shadow.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20030228.112820.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030228/cbac7eae/attachment.diff>


More information about the twilight-commits mailing list