Module darkplaces: Change committed
havoc at icculus.org
havoc at icculus.org
Sat Feb 21 16:05:32 EST 2004
Commiter : havoc
CVSROOT : /cvs/cvsroot/twilight
Module : darkplaces
Commit time: 2004-02-21 21:05:32 UTC
Log message:
cleaned up R_RenderView setup code a bit, and shuffled SCR_CalcRefdef stuff to SCR_UpdateScreen
scissor is now on during all of R_RenderView (including rtlight portions), and GL_Scissor is used to set it instead of direct qglScissor calls, also GL_ScissorTest is used
r_farclip is now calculated without need for... just about anything, this allowed shuffling the setup code around a bit
various cleanups to allow multiple view renders per frame
added scr_zoomwindow cvars to do a (silly) zoomed view picture-in-picture overlay, it works but turned out useless in playtesting unless you want to stare at a shambler's chest... ugh
R_AnimateLight and R_BuildLightList merged to become R_UpdateLights
some setup code from R_RenderView became a new function R_UpdateWorld
GL_SetupView_ViewPort calls replaced by qglViewport calls, as it was a mostly useless wrapper
Modified files:
cl_main.c cl_screen.c gl_backend.c gl_backend.h gl_draw.c
gl_rmain.c host.c r_light.c r_light.h r_shadow.c render.h
screen.h todo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20040221.210532.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20040221/9e165e80/attachment.diff>
More information about the twilight-commits
mailing list