Bill Currie
b582a02aff
fix the broken lighting for unlerped verteces
2002-01-07 01:05:44 +00:00
Ragnvald Maartmann-Moe IV
aa36ebf6e4
Little bit of whitespace cleanup.
2002-01-05 19:03:36 +00:00
Seth Galbraith
cb6ef3e225
putting if outside the for loop should speed things up
2002-01-05 16:53:43 +00:00
Seth Galbraith
ac5b6823c6
high precision model rendering in GL
2002-01-05 16:20:38 +00:00
Bill Currie
c68da1f299
o split up GL_DrawAliasFrame so it's normal (ie, not fullbright) pass only
...
creating GL_DrawAliasFrame_fb to do the fullbright pass. This removes
the if (fb) tests.
o move the DepthMask setting for modelalpha != 1.0 out of
GL_DrawAliasFrame* into R_DrawAliasModel to reduce potential GL state
changes.
o minor comment cleanup/corrections
2002-01-02 19:23:09 +00:00
Bill Currie
3cfd2c0a8e
make GL_DrawAliasShadow use the data calculated by GL_GetAliasFraveVerts so
...
shadows don't cost as much when lerping is enabled.
2001-12-30 04:16:25 +00:00
Bill Currie
ee9ed0c395
minor cleanups
2001-12-21 21:52:03 +00:00
Ragnvald Maartmann-Moe IV
e78bdb3ea6
Fix failure to free cache for non-shadowed stuff (lightning, grenades, etc).
...
Also a minor speedup (only mess with glHints once per frame, instead of dozens of times).
2001-12-19 18:32:26 +00:00
Bill Currie
5d643c2483
tiny optimisation to GL_GetAliasFrameVerts
2001-12-18 05:50:57 +00:00
Bill Currie
b52606aed2
*sigh* Turns out id didn't feel like fixing the bugs in progs so don't blat
...
out frame errors under normal circumstances.
2001-12-08 20:58:09 +00:00
Bill Currie
52b0c8f3fc
how me a repeatable bug and I'll show you a dead bug }:>
...
(this fixes the "Cache_Free: not allocated" crash)
2001-12-04 17:46:42 +00:00
Bill Currie
9bf575d081
several little tweaks that more than make up for the reversion of low-copy
2001-12-03 08:46:56 +00:00
Bill Currie
7d14013041
fix many, many bugs in the alias skin loading, transforming and rendering
...
code. This fixes blather's `melted models' (sw), the nq alt player model
skins (gl), the arbitrary limits on skins and skin groups in gl, and the
incorrect timing of group skins (animated) in gl.
2001-11-21 08:14:05 +00:00
Bill Currie
5dab7ccaf7
precalculate smoe model specific info (wether the whole model is fullbright,
...
if it should have shadows, whether it should be scaled/translated (gl eyes),
and the minimum lighting (player)). give a 1.9% speedup in null renderer.
2001-11-20 08:02:35 +00:00
Ragnvald Maartmann-Moe IV
de0b4f65fa
modelalpha and currenentity cleanups.
2001-11-04 07:40:35 +00:00
Ragnvald Maartmann-Moe IV
e8b36b1a71
Remove unused R_CullBlocked.
2001-11-03 07:30:15 +00:00
Ragnvald Maartmann-Moe IV
d1c115da05
Whitespace.
2001-10-30 19:58:01 +00:00
Bill Currie
00514d744e
this should fix the skating statues
2001-10-29 19:38:20 +00:00
Bill Currie
78a3e398d5
* taniwha gets medieval on extern
2001-10-28 04:23:37 +00:00
Bill Currie
bf309fb554
split the sprite and alias model rendering code out from gl_rmain.c into
...
their own files.
2001-10-23 17:20:56 +00:00