Commit Graph

677 Commits

Author SHA1 Message Date
Eric Wasylishen e17c4659fa tidying 2015-05-19 14:38:15 -06:00
Eric Wasylishen 874b468c9c tidying 2015-05-19 14:38:15 -06:00
Eric Wasylishen c02baf41f6 un-comment memset (lightsurf_t struct is now small) 2015-05-19 14:38:14 -06:00
Eric Wasylishen 9aa43504dc remove bit of _lightmap_scale code 2015-05-19 14:38:14 -06:00
Eric Wasylishen 14fde26763 formatting & cleanup 2015-05-19 14:38:14 -06:00
Eric Wasylishen 1075bafb7c remove lux file output for now 2015-05-19 14:38:14 -06:00
Eric Wasylishen a88ccaf7d7 remove pak stuff for now 2015-05-19 14:38:14 -06:00
Eric Wasylishen b4f9f23051 remove proojectedmip stuff for now 2015-05-19 14:38:14 -06:00
Eric Wasylishen a640ff4cb1 remove bspx for now 2015-05-19 14:38:14 -06:00
Eric Wasylishen e37bb3ff08 disable bspx for now 2015-05-19 14:38:13 -06:00
Eric Wasylishen a0803ff6a2 Remove some dead code 2015-05-19 14:38:13 -06:00
Eric Wasylishen 0cf02b230d remove SINGLEMAP define 2015-05-19 14:38:13 -06:00
Eric Wasylishen 6f4a76a0ab Allocate memory as needed per face 2015-05-19 14:38:13 -06:00
Eric Wasylishen 4e5b2c100b Revert "color solid lightmaps red"
This reverts commit 421882301697d5218e3a106893a5398b7a9efeff.
2015-05-19 14:38:13 -06:00
Eric Wasylishen 6082ea4638 -lmscale command line: take a float value 2015-05-19 14:38:13 -06:00
Eric Wasylishen 13cbb1d792 color solid lightmaps red 2015-05-19 14:38:13 -06:00
Eric Wasylishen 3d7cbe58ce cleanup qbsp 2015-05-19 14:38:12 -06:00
Eric Wasylishen 90001fa436 rewrite and simplify memory allocation for the output data 2015-05-19 14:38:12 -06:00
Eric Wasylishen 3ec492b03c always write lit2 when -lmscale is used 2015-05-19 14:38:12 -06:00
Eric Wasylishen a61662f49a disable projected mip stuff for now 2015-05-19 14:38:12 -06:00
Eric Wasylishen 4b2e398760 fix typo 2015-05-19 14:38:12 -06:00
Eric Wasylishen d6ed9d5b55 Fix -lmscale override switch. Handle absence of .lmscales file 2015-05-19 14:38:12 -06:00
Eric Wasylishen a9d800782d Support doing a lit2 and regular lit compile at the same time 2015-05-19 14:38:12 -06:00
Eric Wasylishen eb5eb2a1bf write lit2 to .lit2 files 2015-05-19 14:37:20 -06:00
Eric Wasylishen 81dc2f3fa9 per-brush lm scale support 2015-05-19 14:37:20 -06:00
Eric Wasylishen a0ce5d01a6 re-enable fence textures, fix saving bsp 2015-05-19 14:37:20 -06:00
Eric Wasylishen f26f87da19 spike's code 2015-05-19 14:37:20 -06:00
Eric Wasylishen c39971bb94 light: rename -dirty flag to -dirt for consistency 2015-05-19 12:11:17 -06:00
Eric Wasylishen ab78c07320 light: make fence texture tracing opt-in 2015-05-16 23:33:39 -06:00
Eric Wasylishen 1996bce56d light: support switchable lights with any light* classname, not just "light" 2015-05-15 09:54:19 -06:00
Eric Wasylishen 8bde00a732 light: ensure "_surface" value is case-insensitive 2015-05-14 17:42:26 -06:00
Eric Wasylishen 5c268c78d1 doc: fix typo in _surface_offset doc 2015-05-10 13:47:41 -06:00
Eric Wasylishen 3a109ac84d build: split up cmake build system into subprojects.
-DDOUBLEVEC_T now correctly used for qbsp only.
2015-05-05 12:34:39 -06:00
Eric Wasylishen 86d3aa990d light: remove "Jittering" debug message 2015-05-04 14:13:18 -06:00
Eric Wasylishen 0a6d3f4167 light: fix hang when using _deviance, make _samples default to 16 when _deviance is set. 2015-05-01 02:17:29 -06:00
Eric Wasylishen d2840f4cba light: fix for always generating a .lit file when surface lights are used 2015-04-30 14:54:23 -06:00
Eric Wasylishen fb0eb9f851 changelog: update 2015-04-29 16:09:45 -06:00
Eric Wasylishen 67cec03ac8 qbsp: fix broken -onlyents option by moving model allocation from map.c to ExportDrawNodes 2015-04-29 16:07:14 -06:00
Eric Wasylishen 985271f689 bsputil: display number of models 2015-04-29 16:07:14 -06:00
Eric Wasylishen ed66ed112e qbsp: fix texture offset on rotate_object, so they match in the editor. Added "-oldrottex" flag to revert to old behaviour. From txqbsp-xt. 2015-04-29 16:07:07 -06:00
Eric Wasylishen 05bddc62e9 man: light.1: add myself to author section 2015-04-27 16:56:27 -06:00
Eric Wasylishen 543678859a changelog: update 2015-04-27 16:41:15 -06:00
Eric Wasylishen 54e7c2ab8e light: fence texture tracing 2015-04-27 00:26:42 -06:00
Eric Wasylishen a33c4b0136 light: surface light support via "_surface" "texturename" light key 2015-04-26 02:24:57 -06:00
Eric Wasylishen d77a7d768c qbsp: switch to hardcoded MAX_MAP_PLANES. counting unique planes was slow 2015-04-25 23:09:35 -06:00
Eric Wasylishen 28e460be9a qbsp: MakeFaceEdges: accelerate with a hash table to avoid slow O(n^2) search for edges 2015-04-25 22:49:40 -06:00
Eric Wasylishen 59bb786880 light: remove unused bsp_origin constant 2015-04-25 21:18:28 -06:00
Eric Wasylishen 1812734037 qbsp: ChooseMidPlaneFromList: fix off-by-one error in axial plane test. On the first SolidBSP pass, gives fewer split nodes on bbin1.map (128k vs 199k) 2015-04-25 21:01:49 -06:00
Eric Wasylishen aa5dfa8b19 light: respect "_dirt" "-1" bmodel key in -dirtdebug mode 2015-04-25 20:46:05 -06:00
Eric Wasylishen 6fe67cd2fb light: allow setting _dist and _range in worldspawn 2015-04-25 20:46:00 -06:00