raze/polymer/eduke32/build/src
helixhorned 2415b03c79 Support for drawing 'island sectors' for TROR/classic (and with limited
functionality, Polymost).

The new feature can be enabled/disabled with the 'r_tror_nomaskpass' cvar.

The basic idea is that when drawing lower or upper levels, a first pass
is performed that ignores all red walls for which the TROR nextwall link
'towards' the viewer arrives at a red wall.  Thus, in the worst case, there
can be up to twice as many rendering passes now (when it is discovered that
the no-mask-pass isn't different that what would be drawn with the ordinary
one, the latter is skipped, since we've already drawn all needed geometry).

Hovever, this kind of multi-pass splitting is only suitable for simple scenes,
like the upper subway in the TROR test map.  In particular, multiple islands
shouldn't 'see' each other.

Two issues are worth mentioning: first, care needs to be taken for translucent
ceilings or floors, since drawing them twice isn't the same as drawing them
once. This is done for classic, but not for Polymost.  Second, sprites (which
are always drawn _after_ the geometry for a given pass) are still clipped to
the geometry of the ordinary pass, resulting in their disappearance from
certain angles.
--

Additionaly, a change made it into this commit that fixes redundant collection
of sprites in TROR:classic/Polymost.

git-svn-id: https://svn.eduke32.com/eduke32@2024 1a8010ca-5511-0410-912e-c29ae57300e0
2011-09-15 17:04:14 +00:00
..
misc Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
tmp Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
util MD3 export script for Blender, based off the XReal hosted one and modified to 2011-03-11 08:01:43 +00:00
a-c.c * Correctly draw floor-aligned sprites with non-power-of-two textures in classic renderer. 2011-04-14 20:48:08 +00:00
a.masm Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
a.nasm Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
a.wasm Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
baselayer.c Support for drawing 'island sectors' for TROR/classic (and with limited 2011-09-15 17:04:14 +00:00
build.c Make uninitialization sequence more consistent across the editor code. It's 2011-09-15 17:03:29 +00:00
cache1d.c polymer.c: Fix a potential zero-size calloc call when a two-walled sector 2011-09-06 17:46:34 +00:00
compat.c Selective auto-correction option for the corruption checker. 'corruptcheck now' will print numbered tags for each warning, which can then be used like this: 'corruptcheck tryfix 20 34-64'. General cleanup; make mapster32 not depend on enet objects. 2011-02-21 23:08:21 +00:00
config.c * skip grayed out sectors when changing tags in 2d mode 2011-08-06 11:50:45 +00:00
crc32.c A bunch of multiplayer improvements 2009-12-14 05:23:29 +00:00
defs.c My first commit! 2011-07-21 22:39:29 +00:00
dynamicgtk.c Make the "Start" button of the GTK start-up window the default button of the window, which means pressing Enter now works at you'd expect. 2010-07-02 01:26:56 +00:00
engine.c Support for drawing 'island sectors' for TROR/classic (and with limited 2011-09-15 17:04:14 +00:00
engine_priv.h Support for drawing 'island sectors' for TROR/classic (and with limited 2011-09-15 17:04:14 +00:00
glbuild.c * Clean up after myself. It seems that Polymost isn't very clean with handling texture IDs sometimes, so switching between the two GL renderers could mess them up with the last revision. This is fixed now by always uninitializing Polymer when changing from it to another renderer. 2011-07-24 15:15:57 +00:00
gtkbits.c git-svn-id: https://svn.eduke32.com/eduke32@1206 1a8010ca-5511-0410-912e-c29ae57300e0 2009-01-10 07:38:50 +00:00
hightile.c Fix mapster's command-line parsing and copy over some of the 'custom mod dir' logic, currently used in the sound board to also find files outside of GRPs. 2011-06-16 19:39:22 +00:00
kplib.c Tweak the source so that it can be built by clang. The only necessary change 2011-09-06 17:46:00 +00:00
lzwnew.c Memory cleanups, use Bm/c/realloc/free everywhere (configured as nedmalloc version in compat.h), add large page support for Vista/7, tweak nedmalloc settings, add support for projecting textures from SE50 spotlights placed in maps via sprite owner member (manipulated through CONs via sprite htpicnum member), fix building Mapster32 with MSVC, increase PR_MAXLIGHTS to 1024 2009-10-07 06:47:35 +00:00
md4.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
mdsprite.c mdsprite.c: prevent a couple of float divides by zero and save model file 2011-09-06 17:45:39 +00:00
mutex.c Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
nedmalloc.c fix some issues with compilation on mac osx; make B, N, M keys behave the same as KP1, KP2, KP3 when pointing at a polymer light (hack around keyboard strangeness) 2011-02-06 22:57:32 +00:00
osd.c * Thin out models in memory by removing unused frames. This saves 200MB with DNE on Polymer. 2011-06-19 18:30:32 +00:00
osxbits.m Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
polymer.c polymer.c: Fix a potential zero-size calloc call when a two-walled sector 2011-09-06 17:46:34 +00:00
polymost.c Support for drawing 'island sectors' for TROR/classic (and with limited 2011-09-15 17:04:14 +00:00
pragmas.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
quicklz.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
rawinput.c Cleaning out my tree... mostly internal changes. Adds workaround to disable texture compression with the crappy fglrx driver on Linux, fixes FIRE sprites so that they don't render at their sector's floorz all the time, changes CON compiler around a bit to use a loop instead of calling C_ParseCommand() 10 million times. 2011-04-07 01:16:29 +00:00
scriptfile.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
sdlayer.c misc. cleanup: 2011-09-15 17:03:50 +00:00
smalltextfont.c Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
startgtk.editor.c Patch from bioman to fix an issue with static linking GTK and to correct the alignment of the fullscreen checkbox in the startup window when building with POLYMER=0 2011-01-31 04:13:53 +00:00
StartupWinController.editor.m Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
startwin.editor.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
textfont.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
winlayer.c misc. cleanup: 2011-09-15 17:03:50 +00:00