From: rpolzer Date: Sun, 14 Sep 2008 16:38:35 +0000 (+0000) Subject: add a ChangeLog; remove some Urban Terror debug code X-Git-Tag: svn-r421~412 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=2fbe76a4a5421a90082d1dbb9941edda6253b817;hp=f8fd0463550937cbe3df152c3556508cff66bb95 add a ChangeLog; remove some Urban Terror debug code git-svn-id: svn://svn.icculus.org/netradiant/trunk@8 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 00000000..5aa9c2b6 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,22 @@ +2008-09-13 Rudolf Polzer divVerent(at)alientrap.org + * q3map2: update to ZeroRadiant's q3map2 + * q3map2: added lightmap exposure feature: -exposure 4.2 (Urban Terror) + * q3map2: check whether a lightmap sample is actually in the triangle (Urban Terror) + * q3map2: nudge light sample origin by 1qu away from planes (Urban Terror) + * q3map2: floodlight: usage is "_floodlight" "red green blue distance intensity", default "240 240 255 1024 128"; works somewhat similar to dirtmapping (Urban Terror); uses a switch -lowquality + * q3map2: added -debugnormals feature (Urban Terror) + * q3map2: fix -convert -format map decompiling (note: outputs map in "Alternate Texture Projection" format); no longer messes up texcoords + * q3map2: added -game nexuiz to use good default paths for Nexuiz + * q3map2: added -game quakelive to enable in-game adverts + * q3map2: fix incorrect plane snapping often causing holes in terrain + * q3map2: spawnflags on misc_model: 8 extrudes with original normals, 16 extrudes with up/down normals (terrain), default: extrudes with axial normals (like before) + * q3map2: fix obvious (and reported, and patch sent in) bug when importing models when the normals were pointing in a 45 degrees direction + * q3map2: when importing models, allow "surfaceparms structural". This also turns off any plane snapping, as it is intended for caulk brushes inside a model + * q3map2: added parameters -ne to set normal epsilon, and -de to set distance epsilon (to customize plane snapping) + * q3map2: fix q3map_lightRGB + * radiant: when displaying normals on a model, scale them to 8 unit size on the output (so "modelscale" can be used without LOTS of lines on the screen) + * radiant: also support "killtarget" as target key for drawing the targeting lines + * radiant: "expand selection to whole entities" now also selects the entity ITSELF; result: Ctrl-Alt-E Space makes a NEW entity now, instead of just duplicating the brush (old behaviour caused bugs in maps with copied func_ladders) + * picomodel: support .obj format as exported by Blender, with a .mtl file defining the shader names for each material; to export using Blender, enable "Materials" and "Material Groups" in the .obj export dialog + * q3map2: add a build script to cross compile q3map2 to Win32 + * all: bump version to 1.5.0-div0 diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index 4f629492..d8f0c730 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -2063,6 +2063,7 @@ void IlluminateRawLightmap( int rawLightmapNum ) origin = SUPER_ORIGIN( x, y ); normal = SUPER_NORMAL( x, y ); +#if 0 ////////// 27's temp hack for testing edge clipping //// if( origin[0]==0 && origin[1]==0 && origin[2]==0 ) { @@ -2071,6 +2072,7 @@ void IlluminateRawLightmap( int rawLightmapNum ) totalLighted++; } else +#endif { /* set contribution count */ lightLuxel[ 3 ] = 1.0f;