2003 Commits

Author SHA1 Message Date
leilei-
444e8bc25f Preliminary MDO model support from revanic 2015-09-19 02:27:17 -04:00
leilei-
04870d3a20 - r_roundImagesDown 2 - nonpowerof2 (NPOT) support. No extension checking added yet; use at your own risk! (intended for buffer effects)
- r_parseStageSimple - working towards pcx2 support by loading shader stages with the texture last, to approximate blending functions by processing them into having alpha channels (or not, for opaque surfaces). Because I can.
- leifx filter change - indicate number of passes to the shader, so the pixel blurring order can be tweaked to further perfection (ridding the left pixel check as that happens)
2015-04-03 05:53:02 -04:00
leilei-
3597b3cefa - r_tvMode is now r_virtualMode
- r_virtualMode now takes the same modes from r_mode, rather than specifically 640x480 and 320x240
- cleaning up a bunch of warnings and general code refactoring
- r_lightmapBits - specify color depth of the lightmap
- added a few more r_modes
- r_iconBits - specify the color depth of icon elements, saves a bit of vram and the loss is questionably perceptable with all those flat colors anyway
- r_textureDither - work in progress dither for 16-bit textures
- deprecate r_shadeSpecular
- safelewd: load from models/player, so we can hit models/playerfs/ directory
2015-03-16 02:10:19 -04:00
leilei-
fd5f8bc4a6 - Detail texture forcing; adds detail texture layers to shaders that don't specify for one. Slightly broken and still needs work.
- Detail texture scale and layesr also adjust the amplification and density of this effect
- Detail mip fade fixed
- r_suggestiveThemes 0 properly loads models and shaders and textures from models/player only. speedup a bit
- r_suggestiveThemes 2 loads _lewd models, shaders and textures.  To keep 'safe' and 'sexy' safe from autodownloaded lewd that respect the prefix.
- removing r_anime _cel loading, which conflicts with the above system and i'm going all out shader on that anyway
- even more waterimage removal
- r_leifx no longer allows trilinear filter. closer to actual real world voodoo behavior
2015-03-01 04:57:37 -05:00
leilei-
f2c082017e - updated shader programs
- fixed brightness shader
- fixing leifx shaders
- r_modelshader - enables the use of a new diffuse fragment shader for enhanced model shading
- shadespecular slightly regressed :(
- don't do libxmp for travis?
- disabled leifx gamma, seems redundant with actual gamma now
- more waterimage cruft removal. don't do this waterreflectrefract until we have fbos please
2015-01-26 05:01:46 -05:00
leilei-
05433b5c7e - stupid hack to do leifx texture shaders
- some less waterimage stuff
2014-12-18 05:22:04 -05:00
leilei-
1609c8732a - aspect correction for r_tvmode
- timedemo finishing writes to cl_timedemoResult (for UI3)
- support for screen palletizing shader
- Additional placeholder textures (not yet used)
- trying to make r_film more dynamic
- more model shading crap you should ignore
- also, ignore the
2014-11-11 06:03:45 -05:00
leilei-
c18b3f7339 - Options to reduce the blinding dynamic light flare effects to not so blinding that it affects the gameplay negatively
- Some unfinished hack to try to get tvMode screenshots
2014-09-22 06:52:33 -04:00
leilei-
afa5229e5c - Removing more unused 'crazy' lighting
- More r_envmode/shademode removal
- LoadTGA warning shouldn't try to load the tga anyway (leading to gray badly loaded textures which may have memory leaks or buffer issues or something)
2014-09-11 01:01:45 -04:00
leilei-
f619c08fd9 - Deprecating r_shadeMode and r_envMode
- Added lightingSpecularDiffuse which is like diffuse, but clamps and does a specular calc for the overbrights, and this is also disableable with the new r_shadeSpecular cvar
- Added tcGen environmentWater which is more suitable for water
- Faster bulge code from JK2
- Shutting up TGA loading fatal errors for warnings instead (to hunt down bad TGAs easier)
2014-09-06 09:23:10 -04:00
leilei-
2c07195887 - an attempt at sorting and restructuring tr_bloom.c
- NTSC filter support
- added some rgbGen that has entity colors AND lighting, so colorable players don't have to glow
- broken image loading time for imagelist
2014-07-24 02:19:26 -04:00
leilei-
43d6a97c43 - Fixed crash for fragment shader effects being loaded for unsupported hardware
- unfinished texture dumping mode, r_texdump would save jpegs of any texture that loads....upside down. The purpose of this is to make compact content builds with only the used textures (without bloat)
- the eager beginning of a water refraction/reflection buffer
- some map texture listing fixes
- very unfinished revolution environment maps
- very unfinished 'crazy' lighting changes
- some pointless whitepsaces added for no reason other than to open file, add something, remove it later, and leave it changed
2014-06-14 07:30:15 -04:00
leilei-
1947afbe2e - Widescreen fixes, should expand on all viewsize values now and leave less refdefs alone
- Accumulation buffer motion blur, which should work on shader model 2 hardware with less memory footprint. Pixel shader moved to r_motionblur 3 (will do texture motionblur on 2)
- Tried to make r_tvMode 2 half vertical resolution, and failed.
- Q3MME's FX scripted particle system files, just dropped in there, because they can't compile at all atm. Procrastinplanning on integrating this to replace my cgame effects
2014-06-07 05:07:56 -04:00
leilei-
5451917a76 - r_tvMode - forces 640x480 rendering no matter what res
- r_retroAA - old 2000 console style anti-aliasing (if you can call it that)
- XMP uses mixer's sample rate.
2014-05-31 00:29:57 -04:00
leilei-
04f656565d - r_suggestiveThemes cvar - loads _safe (for work) models if set to 0, and if they're available.
- similarly, r_anime looks for _cel prefixed shaders and loads them instead
- r_iconmip - resizes 2D icons (that have nopicmip) to save some inches of video memory/texture cache.
- Don't allocate motionblur textures if motionblur is off
- Motionblur variable passes hack
- remove debug lines from the wip shading mode
2014-05-26 01:24:51 -04:00
leilei-
0f734a2ed2 - Eye tracking
- GLSL Color control WIP
- 'crazy' lighitng WIP
- GLSL Motion blur WIP. Currently VRAM heavy
- Attempt at fallback shaders, which doesn't work right now.
2014-05-18 17:04:26 -04:00
leilei-
b4274edf64 Fix that glsl nextpixel thing. fixes 3dfx shader blur 2014-05-03 00:03:15 -04:00
leilei-
74021abbf0 Add functionality for tracker module playback using the libxmp library. New formats supported: MOD, IT, S3M, XM. 2014-05-02 21:55:39 -04:00
leilei-
cab34b45b7 - Preparing renderer_software. The theory is to somehow throw things through a TinyGL pixelbuffer with a crapload of compromises. Not there yet but still procrastinplanning on it. 2014-04-14 04:19:18 -04:00
leilei-
c4f5beb32d - Some changes to support the anime glsl/texture map hack i'm doing. Cvar will be r_anime
- r_envmode 2 replaced with JK2 envmapping
- r_leidebug because I need it
2014-04-10 08:47:44 -04:00
leilei-
ea3b975543 - External placeholder shader feature - for wiping the ugly squares off of maps
- slight paletted texture cleanup.
2014-04-04 05:49:36 -04:00
leilei-
7c0facdacc - r_leifx cvar that controls the magnitude of faking a certain ubiquitous video card, requires leifx_filter/dither/gamma shaders (not committed yet)
- r_slowness, r_slowness_cpu and r_slowness_gpu cvars that sort of fake system bottlenecks. not useful for playing
- more r_modes, no standards followed.
- some additional but dummied out model shading functions
2014-03-28 07:05:56 -04:00
leilei-
c356889cfe remove this hpalette thing i left in there by accident 2014-03-19 07:17:31 -04:00
leilei-
3dcdd64749 Detect certain software rasterizing OpenGL ICDs and add some speedups for them
also restore the GLHW_ detection stuff that was removed
2014-03-19 06:51:10 -04:00
leilei-
58958eb1cd Fix blue pixels bug in paletted mode
Fix fog bug in paletted mode
Don't load a palette and generate a lookup in the non-paletted mode
2014-03-19 04:24:03 -04:00
leilei-
f9d4ebbb40 Paletted texture support (GL_EXT_paletted_texture, r_textureBits 8, expects gfx/palette.lmp)
Quarter-broken texture resampling from Darkplaces
Half-broken otherblendmodes=alpha fixes for Pvr
Postprocess Bloom works on S3TC and texturebits 0
Fix memory allocation typo with postprocess
2014-03-18 08:06:20 -04:00
leilei-
b37a522057 Alternate brightness - a screen effect to blend the screen into having overbrights, without modifying the host color settings 2014-03-17 06:05:46 -04:00
leilei-
08bb01ec0b Flare enhancements
- Moved tcpp flare enabling to different flare cvar values (2, 3, 4)
- added more lens flare types (5, 6, 7, 8)
- Sun improvements including a flare for the sun (r_flareSun)
2014-03-17 05:03:48 -04:00
leilei-
9d43ff7e6c Horz+ Widescreen support in the renderer 2014-03-17 01:19:33 -04:00
leilei-
eee676120c Replaced texture greyscaling algorithm (fixes blue=black)
also hi
2014-03-17 00:26:20 -04:00
hairball
9cd5ad9e6b Merge branch 'master' of https://github.com/ioquake/ioq3 2014-02-14 04:39:13 +00:00
SmileTheory
79e9baedf8 OpenGL2: Set RGBM to use a multiplier of 1, and only use it with HDR lightmaps. 2014-02-13 18:04:23 -08:00
Zack Middleton
6beab9cf58 Merge pull request #45 from xhairball/features/upgrade-curl-7.35.0
Upgrade libcurl to the latest release (7.35.0).
2014-02-13 16:50:25 -06:00
hairball
c79a1bc58f Merge remote-tracking branch 'upstream/master' 2014-02-10 07:23:43 +00:00
Zack Middleton
718d0a0d11 Fix sending pk3 download error messages to clients
Disabled in e52a492f61.
2014-02-09 20:23:48 -06:00
user
922d7044f6 Merge branch 'master' into features/upgrade-curl-7.35.0 2014-02-10 00:28:57 +00:00
hairball
24ddb2d2b2 Merge remote-tracking branch 'upstream/master' 2014-02-09 18:53:35 +00:00
Zack Middleton
90eb32c5ab Clear referenced paks when disconnecting
After playing Team Arena, if you switch to Q3A and try to play a demo with
cl_allowDownload enabled it would print "Need Paks: blah blah" and not play the demo.
2014-02-08 22:09:30 -06:00
hairball
1435e78454 Upgrade from libcurl 7.15.5 (2006-08-07) to 7.35.0 (2014-01-29)
Note: This uses the generic curlbuild.h because it is used by multiple platforms.
A system curl would have a configure generated one.

The libraries for win32 and win64 were cross compiled with these options:

  --disable-shared --enable-static --disable-ares --enable-http \
  --enable-ftp --disable-ldap --disable-ldaps --disable-rtsp \
  --disable-dict --disable-file --disable-telnet --disable-tftp \
  --disable-pop3 --disable-imap --disable-smtp --disable-gopher \
  --enable-ipv6 --without-ssl \
  --disable-manual --disable-libcurl-option

This effectively enables only HTTP and FTP protocol support.
2014-02-08 17:33:56 +00:00
hairball
78271e6214 Merge remote-tracking branch 'upstream/master' 2014-02-08 06:36:40 +00:00
Zack Middleton
d0b1fb4fed Merge branch 'features/upgrade-opus-1.1' of https://github.com/xhairball/ioq3 into opus_update
Conflicts:
	Makefile
2014-02-07 22:12:59 -06:00
Zack Middleton
166f5ab90c Merge branch 'features/upgrade-opusfile-0.5' of https://github.com/xhairball/ioq3 into opus_update 2014-02-07 22:11:31 -06:00
hairball
2de340895f Upgrade libogg 1.3.0 to 1.3.1
This is a minor bugfix release with few changes
2014-02-08 03:38:01 +00:00
hairball
b0aed02823 Upgrade opusfile 0.2 to 0.5 2014-02-08 03:29:10 +00:00
hairball
9e0c602795 Upgrade opus 1.0.2 -> 1.1 2014-02-08 03:21:02 +00:00
hairball
4e532eddcd Client/server engine changes for OpenArena 0.8.8 2014-02-07 04:34:20 +00:00
Zack Middleton
d8e42cf02f Merge pull request #35 from inolen/no_renderer_restart
don't restart renderer in SV_SpawnServer unless client running dedicated
2014-02-01 16:22:24 -08:00
Zack Middleton
aedb151d94 Merge pull request #33 from inolen/widescreen_clear_fix
don't clear screen during CA_LOADING and CA_PRIMED
2014-02-01 15:51:41 -08:00
Anthony Pesch
278d7533e5 restart the renderer after the hunk mark has been set 2014-02-01 09:58:49 -08:00
Zack Middleton
36a4075a8d Try default OpenAL driver if user set one fails to load 2014-01-27 20:09:55 -06:00