Commit Graph

3621 Commits

Author SHA1 Message Date
Eric Wasylishen 928bbf3dee default -lowpriority to true
makes no difference to tool runtime (31.9s -> 31.4s for a light run), avoids unnecessarily making
Windows unusable
2022-11-06 17:06:35 -07:00
Jonathan b0ac2754ff Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2022-11-06 18:06:52 -05:00
Jonathan 66d7ae98e5 half memory usage for lightmaps & ray colors 2022-11-06 02:21:11 -05:00
Eric Wasylishen 46ae50cb1f build: don't use LTO with RelWithDebInfo, slows down linking too much during dev 2022-11-05 15:16:30 -06:00
Eric Wasylishen 1c6e481c9a vs code: put 3rdparty dir in search exclude list
also adjust gitignore to allow committing this
2022-11-05 15:14:20 -06:00
Eric Wasylishen ca45f06bdf bspinfo: fix format string 2022-11-04 00:53:34 -06:00
Eric Wasylishen 221ea65efb light: fix -world_units_per_luxel on sloped faces 2022-11-03 23:45:47 -06:00
Eric Wasylishen ff54f86708 light: fix invisible shadow casters crash 2022-11-03 22:26:41 -06:00
Eric Wasylishen ca0efbf3d3 light: wip -world_units_per_luxel and DECOUPLED_LM BSPX lump 2022-11-03 02:39:15 -06:00
Jonathan 8b524cf324 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2022-11-02 17:59:12 -04:00
Jonathan b89b71455b fix condition running in Q2 mode that isn't supported yet 2022-11-02 17:59:07 -04:00
Eric Wasylishen eb2d697cef faceextents_t: refactor to store world <-> lm matrices rather than tex space <-> lm 2022-11-02 09:39:20 -06:00
Eric Wasylishen 1f01b65873 faceextents_t: rename texextents/texmins 2022-11-02 09:27:41 -06:00
Eric Wasylishen 02202b81bb faceextents_t: move texmins out of structure 2022-11-02 09:21:42 -06:00
Eric Wasylishen 9edadf93cd light: CalcPoints: use faceextents_t::LMCoordToWorld 2022-11-02 01:16:36 -06:00
Eric Wasylishen f3cc0907c8 faceextents_t: refactor to remove lightmapshift member 2022-11-02 00:56:23 -06:00
Eric Wasylishen c39ee38454 qvec: add 3x3 matrix inverse, row major factory method 2022-11-02 00:32:06 -06:00
Eric Wasylishen 388cd39821 common: parser: fix compile time of parser_source_location 2022-10-31 23:06:20 -06:00
Eric Wasylishen 2bd2515792 all: cleanup unused includes (Clion - detect not directly used) 2022-10-31 21:37:34 -06:00
Eric Wasylishen 0924423c20 light: header -> source move 2022-10-31 21:21:28 -06:00
Eric Wasylishen 39aacc89ef light: docs updates 2022-10-31 00:26:57 -06:00
Eric Wasylishen ff5d48e5e1 light: CalcPoints: use faceextents_t::texCoordToWorld
this changes the "one unit in front of surface" from tex space to world space, which
makes more sense
2022-10-30 20:57:44 -06:00
Eric Wasylishen 383266762d light: lightsurf_t: remove texorg member 2022-10-30 19:40:26 -06:00
Eric Wasylishen 728fafde8c light: remove dead code 2022-10-30 18:00:48 -06:00
Eric Wasylishen da5910e732 tests: first steps on a light test case 2022-10-30 15:32:41 -06:00
Eric Wasylishen 35ffc00462 all: add LIGHT_/QBSP_/VIS_ prefixes to epsilons where necessary 2022-10-30 15:08:10 -06:00
Eric Wasylishen 9fa0b2ecef Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2022-10-30 14:33:24 -06:00
Jonathan 022655b268 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2022-10-30 15:29:48 -04:00
Jonathan 5ea786702b always include NODRAW + LIGHT 2022-10-30 15:29:42 -04:00
Eric Wasylishen f9fc0fc478 light: remove dead code 2022-10-30 12:49:32 -06:00
Eric Wasylishen 586204a6bc bspinfo: fix half-texel error in .obj lightmap preview 2022-10-29 22:47:35 -06:00
Eric Wasylishen a70ef5ea7b bspinfo: log the .obj/.png creation (lightmap preview) 2022-10-29 22:37:26 -06:00
Eric Wasylishen 22b9329489 testmaps: add q2 lighting testmap 2022-10-29 20:35:10 -06:00
Eric Wasylishen f232bca0c2 build: enable LTO for release builds 2022-10-27 00:02:43 -06:00
Eric Wasylishen 53a0be5e50 build: compile time optimizations 2022-10-26 23:30:02 -06:00
Eric Wasylishen 34f32f851c common, qbsp: more functions moved from header -> source 2022-10-26 23:29:54 -06:00
Jonathan eafac17625 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2022-10-26 10:59:13 -04:00
Jonathan dcef4c6f9c allow vis to use .bsp instead of .map if passed .map at cmd line 2022-10-26 10:59:07 -04:00
Eric Wasylishen 27045404d3 tests: add CSGFaces basic test 2022-10-23 19:20:19 -06:00
Eric Wasylishen ba3befca9b qbsp: exportobj: re-add bspbrush_t::container version 2022-10-23 19:20:19 -06:00
Eric Wasylishen 9ff0752ad1 testqbsp: clean up clearing of data between tests 2022-10-23 19:20:19 -06:00
Eric Wasylishen a950d2fcb7 qbsp: add exportobj.hh header 2022-10-23 19:20:19 -06:00
Eric Wasylishen 87ae7d63fa qbsp: restore a variation on CSGFaces 2022-10-23 19:20:10 -06:00
Eric Wasylishen 501ced4bfe qbsp: restore func_detail_wall support 2022-10-21 18:33:38 -06:00
Eric Wasylishen c84f5898df tests: doctest 2022-10-21 18:33:19 -06:00
Eric Wasylishen 636b376577 squash brushbsp-compilation-speedup branch
move function implementations out of headers
2022-10-21 18:00:58 -06:00
Eric Wasylishen 74996f97d2 light_q2_translucent_shadow.map: add WINDOW test cases 2022-10-19 00:22:41 -06:00
Eric Wasylishen c78b0396a9 light: fix wrong opacity of trans33/trans66 translucent shadows
- support _light_alpha key in q2 mode
- add q2 translucent shadows testmap
2022-10-19 00:00:47 -06:00
Eric Wasylishen 2a9393cc54 bspbrush_t: add contains_point() query 2022-10-05 23:49:34 -06:00
Eric Wasylishen 9bac13fcfd bsputil: add "--findleaf x y z" command 2022-10-04 23:36:22 -06:00