Commit Graph

4000 Commits

Author SHA1 Message Date
Jonathan b43e1a5b7e Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-05-21 11:07:39 -04:00
Jonathan 0f5690bf6d allow light 0 to work
fix bad std::move
2023-05-21 11:07:33 -04:00
Eric Wasylishen 229f9fed25 lightpreview: hack in quote parsing for qbsp/vis/light args 2023-05-21 00:29:22 -06:00
Eric Wasylishen 295dc4a537 lightpreview: add text fields for qbsp/vis/light options 2023-05-21 00:03:32 -06:00
Eric Wasylishen 2bf311def6 lightpreview: add overbright lighting scale factor 2023-05-20 23:22:37 -06:00
Eric Wasylishen c2f7cdbb7c lightpreview: clear data before reloading 2023-05-20 23:09:42 -06:00
Eric Wasylishen c7985dad3e lightpreview: hook up reloading in response to file watcher 2023-05-20 22:24:57 -06:00
Eric Wasylishen 8ff83b4d36 testmaps: set a color for our e1u1/sky1 placeholder texture
so it's possible to test sunlight in q2 testmaps
2023-05-20 21:19:06 -06:00
Eric Wasylishen b17fac1eb3 lightpreview: change background color 2023-05-20 21:18:24 -06:00
Eric Wasylishen 752cd95c02 qbsp: -debugexpand: write to .bsp output dir 2023-05-20 21:17:14 -06:00
Eric Wasylishen 9c466dd813 tests: add q1 hull1 failure example 2023-05-20 19:17:59 -06:00
Eric Wasylishen 9a09dfffa9 lightpreview: render lightmap 2023-05-20 13:32:44 -06:00
Eric Wasylishen 698a492822 bspinfo: factor out lightmap atlas generation from .obj writer 2023-05-20 13:05:22 -06:00
Eric Wasylishen ce25e9c3d0 lightpreview: fix lack of depth testing / backface culling 2023-05-19 20:16:38 -06:00
Eric Wasylishen b33591fe0f lightpreview: wip textured rendering 2023-05-19 01:30:05 -06:00
Eric Wasylishen b7f4a2759b imglib: clear texture cache between tests 2023-05-19 00:51:14 -06:00
Eric Wasylishen 9e1ead5f78 common: move load_textures() from light.cc into common/imglib.cc 2023-05-19 00:50:31 -06:00
Eric Wasylishen 1df614daf2 lightpreview: wip basic level rendering 2023-05-17 00:19:53 -06:00
Eric Wasylishen d466deed91 lightpreview: reboot
- link against qbsp + vis + light + embree + tbb + fmt
- remove .pro, .ui
- setup filesystem watcher
- accept .map files via dnd, run qbsp + light + vis
2023-05-15 00:23:30 -06:00
Eric Wasylishen f14f327a9a common: more robust hexen2 detection
Fixes  #355
2023-05-13 00:46:02 -06:00
Random a12e9fe152
added options to cmake to disable building docs and tests, default behavior unchanged (#357) 2023-05-11 10:42:16 -06:00
Eric Wasylishen 356e5ab963 build: fix build (avoid std::identity) 2023-05-11 00:37:35 -06:00
Eric Wasylishen 895a28584c light: experimental autominlight for solid black sides of doors 2023-05-11 00:17:47 -06:00
Random c6ea63ba95
made CMake relative for use as a sub-project within other CMake projects (#356) 2023-05-10 19:45:51 -06:00
Eric Wasylishen 290af832af style: rename dirt related member variables to match the actual names 2023-05-08 23:02:59 -06:00
Jonathan 0ab3aae111 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
# Conflicts:
#	common/bspfile.cc
2023-05-08 17:47:12 -04:00
Jonathan 1548f25daf allow individual brush chop control
allow passing _surflight_targetname to set targetnames for switchable lights on bmodels
2023-05-08 17:44:32 -04:00
Eric Wasylishen a73075234e light: fix inheriting worldspawn _minlight_color by bmodels 2023-05-08 00:24:53 -06:00
Eric Wasylishen d9e16a943a qbsp: add -noextendedsurfflags flag to suppress .texinfo writing (for testing/debugging) 2023-05-07 23:56:30 -06:00
Eric Wasylishen c9e41ab4db style: remove GLM_ prefix (no longer using glm) 2023-05-07 21:44:29 -06:00
Eric Wasylishen 18a7df1a1b style: reformat 2023-05-07 21:44:29 -06:00
Eric Wasylishen bb6069f8d4 .clang-format: update some things reported by linter
+ set c++20
2023-05-07 21:44:29 -06:00
Eric Wasylishen 3e446e6ea6 qbsp, light: fix inheriting minlight from worldspawn
Update q2_light_group.map to support this
2023-05-07 21:44:29 -06:00
Eric Wasylishen f9ad83aed5 docs: pin dependencies to fix build error
try out furo theme
2023-05-06 12:43:23 -06:00
Eric Wasylishen b994bb750d brushbsp: disable CheckPlaneAgainstVolume checks
this check prevents splitting on small brush fragments, where we actually need to split.
if we don't the small fragments cause incorrect leaf contents to be assigned.
2023-05-05 23:07:16 -06:00
Eric Wasylishen 056f736e60 light: add minlight_mottle as an alias for minlightMottle (in worldspawn) 2023-05-05 23:00:24 -06:00
Eric Wasylishen 4a30995a06 docs: update vis docs 2023-05-04 09:42:03 -06:00
Random b49d4879f2
include cstdint in vec.hh to fix build (#354) 2023-05-03 19:13:45 -06:00
Eric Wasylishen 486f848061 docs: update light documentation 2023-05-03 00:55:08 -06:00
Eric Wasylishen d45bfb1169 docs: update qbsp docs, include all current options 2023-05-03 00:14:42 -06:00
Eric Wasylishen a3984852bb docs: changelog update 2023-05-01 22:41:32 -06:00
Eric Wasylishen 5d142e4ab2 qbsp: remove -contenthack (dead code) 2023-05-01 22:38:00 -06:00
Eric Wasylishen cfd3336644 test: lightmap artifacts on a low luxel scale 2023-04-30 17:53:19 -06:00
Eric Wasylishen 5f7e08d0ef light: CalcPoints: fix check for luxels being too far from the face to be visible 2023-04-29 19:52:31 -06:00
Eric Wasylishen fa7da0b4a2 tests: add test where CaclPoints + low luxel scale fails 2023-04-29 17:14:43 -06:00
Eric Wasylishen 0628f768e2 qbsp: minor clarification in SplitBrush 2023-04-29 12:26:48 -06:00
Jonathan bd047020d2 fix antiportals up a bit 2023-04-29 13:40:34 -04:00
Jonathan 5777fdf914 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-04-28 13:32:00 -04:00
Jonathan 39a54abfc6 add support for a region brush (code needs to be cleaned up a bit though)
allow _surflight_style on brush models
2023-04-28 13:31:50 -04:00
Eric Wasylishen bc7f08abe5 test: add broken case where func_detail_wall generates splits 2023-04-25 23:48:09 -06:00