Bill Currie
f7b4dffcc0
get larger player skins working in gl
2002-09-13 05:32:28 +00:00
Ragnvald Maartmann-Moe IV
2a8896d4a1
Grr, what's with cvs today?
2002-09-13 01:08:21 +00:00
Ragnvald Maartmann-Moe IV
ca50e1945b
Oops.
2002-09-13 00:23:58 +00:00
Bill Currie
899ad6bebe
use the correct palette when writing out screen shots
2002-09-10 15:13:12 +00:00
Bill Currie
ecdd537183
beat sw gamma handling till GL works. after a fasion. it /looks/ like it was
...
beaten on.
2002-09-10 06:35:32 +00:00
Bill Currie
9f6f50699d
remove vid_basepal, creating vid.palette (current palette) and host_basepal
2002-09-10 03:51:10 +00:00
Bill Currie
f6ab24e6bc
min-clamp ambientcolor instead of shadecolor. should make for more visible
...
players
2002-09-09 23:06:08 +00:00
Ragnvald Maartmann-Moe IV
c4609f5195
Experimentally allow external texture loading. Also prevent loading RGB textures as RGBA, which wastes a lot of texture memory, and looks ugly on 16bpp boards.
2002-09-06 21:37:22 +00:00
Ragnvald Maartmann-Moe IV
92db391e7c
Optimize model rendering a hair. WildCode spotted that minimum shade was only being applied to the view model (why do we set it up for other stuff if it's not going to be used?). While looking at that, I noticed we could do the divide by 200 in model setup.
2002-09-01 23:45:22 +00:00
Ragnvald Maartmann-Moe IV
c1a8a02762
Whitespace.
2002-08-27 19:38:04 +00:00
Bill Currie
a7380fef66
nuke msg_suppress_1 in favor of Sys_DPrintf
2002-08-27 18:05:59 +00:00
Bill Currie
ec47e08e1c
go back to using QFile, quakeio.h and quakefs.h
2002-08-27 07:16:28 +00:00
Ragnvald Maartmann-Moe IV
d11fbc0b5c
Change from if/else if/else function for setting scale in a number of particle effects, to scale = pow (count, 0.23). Smooth particle size changes with varying count, and doesn't seem any slower in my benchmarks.
2002-08-26 00:11:16 +00:00
Ragnvald Maartmann-Moe IV
ff03367bc2
Whitespace and comment cleanups.
2002-08-25 05:55:28 +00:00
Ragnvald Maartmann-Moe IV
147f940510
Kill dead gl_occlusion cvar.
2002-08-23 21:55:59 +00:00
Ragnvald Maartmann-Moe IV
7bf21e20ed
Use R_CullSphere for rotated bsp models.
2002-08-23 21:14:43 +00:00
Ragnvald Maartmann-Moe IV
aa85219dc4
Commit R_CullSphere use for alias models. Only a 3.3% speed hit for me, and should quiet "foo is disappearing" whinging.
2002-08-23 04:09:00 +00:00
Bill Currie
c44ec1993d
handle up to 512x512 map textures /properly/. would be nicer if the max
...
could be dynamic
2002-08-22 19:00:55 +00:00
Ragnvald Maartmann-Moe IV
c91f1a2aea
Rename Length to VectorLength.
2002-08-20 02:22:40 +00:00
Ragnvald Maartmann-Moe IV
32a85e7130
Clipping cleanups.
...
Calculate radius for alias models as well as brush.
Culling is no longer optional on alias models (was only ever disabled for viewmodel, which is a lot of extra effort to avoid clip testing 1 thing out of hundreds).
Clip QSG2 scaled alias models with a scaled bbox.
2002-08-20 00:48:59 +00:00
Bill Currie
55cdde81da
rename clmodel to model
2002-08-19 04:15:46 +00:00
Bill Currie
b1a180b25e
move the view model check for min_light into the model loader (checks for
...
progs/v_*)
2002-08-19 04:05:02 +00:00
Bill Currie
1a0cf8d1f4
remove some redundant/incorrect code
2002-08-14 06:28:38 +00:00
Bill Currie
7ed7938b1c
get colored lighting working reasonably well
2002-08-14 05:45:50 +00:00
Bill Currie
2abaf27cdc
attempt to fix the dark models at centers of dlights
2002-08-12 15:36:52 +00:00
Bill Currie
8e97d6279a
first stab at colored alias model lighting
2002-08-12 06:14:55 +00:00
Bill Currie
1afd2d95b2
break out the 1 vs 3 lightmap components code into separate functions and
...
do preliminary support for colored alias model lighting
2002-08-12 04:42:29 +00:00
Bill Currie
7e4e294089
fix the unlit models in full light bug
2002-08-12 02:05:45 +00:00
Bill Currie
4123d74e5e
don't segfault when a surface uses the `null' texture (r_notexture_mip)
2002-08-09 06:07:25 +00:00
Bill Currie
cbde41c669
damnit!
2002-08-08 04:41:41 +00:00
Bill Currie
3baec9e856
clean out the dead mtex code
2002-08-08 04:27:49 +00:00
Ragnvald Maartmann-Moe IV
f773e1fa36
Minor alias model rendering speedup.
2002-08-03 07:07:23 +00:00
Ragnvald Maartmann-Moe IV
10c3f91a24
Revert taniwha's broken-radeon workaround.
2002-08-03 07:07:00 +00:00
Bill Currie
9c08f5b169
fix a typo that caused weirdness with the lerping
2002-08-03 06:13:35 +00:00
Ragnvald Maartmann-Moe IV
97d6f46f75
Speed up 16bit coord alias models a bit. (only one VectorScale per vertex now)
2002-08-02 18:07:53 +00:00
Bill Currie
2ce0f2ded2
we now require modern autoconf (2.52+), automake (1.6+) and libtool (1.4+).
...
This gives us a bunch more flexibility. plugins no longer have the "lib"
prefix or the version suffix, they're now installed in
$fs_sharepath/QFplugins,, builds should take much less time (in general,
only one of pic or non-pic versions are build), bins and libs can have
individual CFLAGS
2002-08-01 19:49:10 +00:00
Ragnvald Maartmann-Moe IV
587de27849
Another step towards QSG2 compliance.
2002-07-25 14:43:36 +00:00
Ragnvald Maartmann-Moe IV
3c7d65a798
Whitespace.
2002-07-25 14:42:41 +00:00
Ragnvald Maartmann-Moe IV
4ed68266ea
Speedup when r_waterripple = 0, and small speedup to texture coordinate calculation.
2002-07-25 14:01:36 +00:00
Bill Currie
51e4cad3fe
get Draw_SubImage doing transparencies
2002-07-25 05:04:22 +00:00
Bill Currie
51b189f56a
make Draw_SubPic do transparent pics
2002-07-25 04:30:50 +00:00
Bill Currie
defcedec49
give access to Draw_SubPic
2002-07-24 21:39:03 +00:00
Ragnvald Maartmann-Moe IV
d3fc8c5fb6
No need for function pointers on R_AddDynamicLights_*, they are never called from outside the R_BuildLightMaps_* function that matches them.
...
Nice spotting, taniwha!
2002-07-24 15:30:28 +00:00
Ragnvald Maartmann-Moe IV
85c7e43aef
Split lightmaps off from surface drawing.
2002-07-23 19:57:47 +00:00
Ragnvald Maartmann-Moe IV
1f8a1d613f
Fix r_particles_nearclip being forced to max.
2002-07-08 00:05:33 +00:00
Ragnvald Maartmann-Moe IV
d297c2b3a3
Colormod & alpha for brushmodels, excluding skypoly emittors.
2002-07-07 06:15:36 +00:00
Ragnvald Maartmann-Moe IV
edc4e27124
Minor order fixup.
2002-07-07 02:34:48 +00:00
Ragnvald Maartmann-Moe IV
a49177c605
Merge a few more lines into queue_character, and prepare for optimizing gl Draw_nString.
2002-06-28 17:47:26 +00:00
Ragnvald Maartmann-Moe IV
fd1ded5c4a
Add r_nearclip and r_particles_nearclip. Also put some limits on r_farclip. And fix id's insane max and min float, and some minor improvements in frustum setup in GL.
2002-06-26 22:20:12 +00:00
Ragnvald Maartmann-Moe IV
e6e11af426
Move the contents of gl_funcs.c out of the renderer, and into targets where they belong. Also some cleanups. -sgl target is temporarily broken, all others should work.
2002-06-24 21:35:37 +00:00