Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Sun Nov 3 20:09:44 EST 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2002-11-04 01:09:43 UTC

Log message:

now clears stencil to 128 instead of 0, this avoids problems with arbitrary incr/decr orders
stencil shadows are now always erased by glClear, never by drawing again, removes r_shadow_erasebydrawing cvar
shadow volumes now have a nudge away from the surface that cast them, this is controlled by the r_shadow_shadownudge cvar (default 1 unit), avoids rare z fighting issues
shadow volume projection distance is now not infinite for alias model volumes, because they are more well-behaved than the world shadows...
msurface_t poly_radius and poly_radius2 removed
now validates elements in more parts of loading (hoped this would reveal a model shadow bug, but it didn't)
Mod_ShadowMesh_AddVertex now uses a hash table search to speed up static shadow volume building (unfortunately this doesn't seem to be the real speed problem)
removed ALLOCMESHINPIECES option from Mod_ShadowMesh code
removed non-PRECOMPUTEDSHADOWVOLUMES option from static shadow volume creation
removed some unused variables

Modified files:
     gl_backend.c gl_rmain.c gl_rsurf.c model_alias.c model_brush.c
     model_brush.h model_shared.c model_shared.h r_shadow.c r_shadow.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20021104.010943.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20021104/610e9529/attachment.diff>


More information about the twilight-commits mailing list