Commit Graph

3645 Commits

Author SHA1 Message Date
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
Jonathan 315ab418d2 fix warning
only enable the clock counter errors in debug
2022-10-02 16:20:27 -04:00
Jonathan f51ab9b75e Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2022-09-30 18:30:50 -04:00
Jonathan 09447178f5 error on -onlyents in Q2 mode 2022-09-30 18:30:46 -04:00
Eric Wasylishen 72ad52647b cmdlib.hh: add missing include 2022-09-30 00:37:18 -06:00
Eric Wasylishen df46f7af82 cmdlib.hh: add missing include 2022-09-30 00:36:03 -06:00
Eric Wasylishen 45fae91a0f cmdlib.hh: add missing include 2022-09-30 00:34:56 -06:00
Eric Wasylishen cb3467b049 log.hh: add missing include 2022-09-30 00:34:17 -06:00
Eric Wasylishen e8aeab3a55 test_qbsp.cc: split out q2 tests to a new file 2022-09-30 00:10:01 -06:00
Eric Wasylishen 73713c8666 common: try precompiling some std headers 2022-09-29 22:24:22 -06:00
Eric Wasylishen d9d4ee99ad include only needed catch2 headers 2022-09-29 19:49:53 -06:00
Eric Wasylishen 1726f95484 use <fmt/core.h> instead of <fmt/format.h>
Should lighten compile times.

The only loss here is we'll no longer inherit e.g. "float" format specifiers for qvec3f.
2022-09-29 19:49:48 -06:00
Eric Wasylishen 1160352a24 qbsp: make -debugleafvolumes only write out solid leafs 2022-09-28 19:23:57 -06:00
Eric Wasylishen 7a014819f0 qbsp: keep bspbrushes around if -debugbspbrushes is used 2022-09-27 09:55:02 -06:00
Eric Wasylishen 8bfd11ba13 testqbsp: add a obj2map terrain test case
some terrain I created in Blender
2022-09-26 22:40:09 -06:00
Eric Wasylishen 4807744d06 ci: give build artifacts better names with github.sha 2022-09-25 11:32:13 -06:00
Eric Wasylishen e477962516 appveyor.yml: remove deploy step, we use GitHub Actions 2022-09-25 11:25:13 -06:00
Eric Wasylishen 363f337e17 ci: fix test paths in build-windows.ps1 2022-09-25 00:12:32 -06:00
Eric Wasylishen 460a30bbac ci: workaround docs build error
workaround for
https://github.com/readthedocs/sphinx_rtd_theme/issues/1343
2022-09-24 20:56:08 -06:00
Eric Wasylishen b405eb892a ci: add missing GitHub Actions setup
(Windows build, upload artifacts, create releases)
2022-09-24 20:20:49 -06:00
Eric Wasylishen 4369cd6313 tests: suppress colors when running tests 2022-09-22 00:11:37 -06:00
Eric Wasylishen 99ddaf4926 update gitignore 2022-09-21 21:22:56 -06:00
Jonathan af2f88b93c Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2022-09-21 05:35:18 -04:00
Jonathan 25cbbd42aa fix phong calculation
obj output adjustment
2022-09-21 05:35:11 -04:00
Eric Wasylishen 8d5d3233b7 qbsp: call CountLeafs at the end of hull processing 2022-09-19 21:00:36 -06:00
Eric Wasylishen 5d1dc0d882 bsputil: better naming of decompiled .map's 2022-09-19 20:59:47 -06:00
Eric Wasylishen ed4e4d1327 qbsp: use tree_split_t::PRECISE on second BrushBSP for hulls 2022-09-18 18:05:28 -06:00