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
Eric Wasylishen
537bc3686d
qbsp: experimental -scale flag for applying uniform scale to map
2023-04-25 18:41:21 -06:00
Jonathan
e9539eff82
oops I should have tried compiling
2023-04-24 02:21:04 -04:00
Jonathan
6035290c70
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
...
# Conflicts:
# include/common/imglib.hh
# light/entities.cc
# light/light.cc
# light/surflight.cc
2023-04-24 02:19:04 -04:00
Jonathan
dddc48e98b
simplify `needs_write` for surfflags
...
add `_surflight_color` key; allows overriding surface light color on an entity basis
load the .wal from wal_json and use the values as a base, if they exist
allow `_surflight_minlight_scale` to be specified on entities
2023-04-24 02:16:39 -04:00
Eric Wasylishen
50d97321d7
qbsp: add -bmodelcontents flag
2023-04-22 19:15:55 -06:00
Eric Wasylishen
17f8abff33
docs: add warning about Ubuntu embree package
...
Fixes #352
2023-04-22 16:23:56 -06:00
Eric Wasylishen
a2d89e3307
qbsp: q1: fix visportals being created to solid leafs
...
fixes crash on ej3_cc.map
2023-04-17 23:42:00 -06:00
Eric Wasylishen
cd2926534f
qbsp: q1: fix so just DETAIL is considered is_empty
2023-04-17 21:10:28 -06:00
Eric Wasylishen
ed756bd602
common: add support for writing .rst documentation from settings
2023-04-16 14:55:43 -06:00
Eric Wasylishen
e069d7b9b8
style: update settings api to follow current coding style
2023-04-16 11:55:38 -06:00
Eric Wasylishen
984d00c5a9
tests: mark q1_lightignore as mayfail until it's investigated
2023-04-16 11:43:24 -06:00
Eric Wasylishen
8bd66592a1
docs: document -aliasdef
2023-04-15 17:45:35 -06:00
Eric Wasylishen
1634470f88
docs: misc tweaks
2023-04-14 23:26:58 -06:00
Eric Wasylishen
93f985a9e5
tests: add q1_lightignore.map test
2023-04-12 00:04:56 -06:00
Eric Wasylishen
42abdcd533
build: don't install changelog.md (it's part of the docs/ dir now)
2023-04-10 19:45:22 -06:00
Eric Wasylishen
83022a720a
docs: convert changelog to rst
2023-04-10 19:27:47 -06:00
Eric Wasylishen
1a08adeca7
docs: move changelog to docs, change to .rst extension
2023-04-10 17:40:13 -06:00
Eric Wasylishen
ac21db8722
common: add png loader test
2023-04-10 14:06:35 -06:00