Jonathan
1fbe12767e
decouple lightmapping state from emissive state
...
allow sky to skip lightmapping if lightgrid is enabled in Q2 mode again
2023-06-19 04:11:20 -04:00
RandomErrorMessage
648981c9da
added SKIP_TBB_INSTALL and SKIP_EMBREE_INSTALL to cmake
2023-06-18 23:57:04 -07:00
Eric Wasylishen
9a4f27a0de
light: fix sky emitting light, disable test
2023-06-19 00:39:30 -06:00
Eric Wasylishen
64146f306e
fix gcc build?
2023-06-18 23:44:28 -06:00
Eric Wasylishen
eae883b55c
fix test failures
2023-06-18 23:24:36 -06:00
Jonathan
94357818f9
experiment with keeping sample data all together in memory, which might help caching. not certain.
2023-06-18 14:06:58 -04:00
Jonathan
fcf39b2ef8
reduce memory usage by only storing VPLs when we need to, and only once
...
fix visapprox auto not actually being auto
2023-06-18 13:29:53 -04:00
Jonathan
da2e6936d1
allow toggling BSPX loading
2023-06-16 03:40:04 -04:00
Eric Wasylishen
1c6a76e1f8
light: autominlight extensions
...
- now apply per-luxel, not just to faces that are fully occluded
- add "_autominlight_target" key for specifying a target
to take the light sample from
- add "_autominlight" key: 0 = force off, default = apply to occluded luxels, 1 = apply to all luxels
wip / subject to change!
2023-06-16 00:14:27 -06:00
Jonathan
06d48e6822
fix areaportal issue
2023-06-14 02:50:23 -04:00
Jonathan
d36e2f5114
--scale option for BSPUtil to do a post-process scale
2023-06-12 15:23:47 -04:00
Jonathan
ac50f17e9b
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-06-12 01:59:20 -04:00
Jonathan
b19c83e87f
fix height mixup in sample texture
2023-06-12 01:59:14 -04:00
Eric Wasylishen
8f6edf946c
lightpreview: fix typo
2023-06-11 23:21:26 -06:00
Eric Wasylishen
e9ba89e45f
lightpreview: handle settings::quit_after_help_exception
2023-06-11 23:20:16 -06:00
Eric Wasylishen
0dfb4e52ab
entdata.cc: avoid exception-throwing std::stod/stoi
...
mostly because it's annoying when debugging with "break on first
exception thrown"
2023-06-11 23:20:13 -06:00
Eric Wasylishen
35fa5bd129
lightpreview: add "Nearest filter" checkbox
2023-06-11 23:20:07 -06:00
Eric Wasylishen
8034215b3a
tests: add "minlight doesn't bounce" test
2023-06-10 16:36:17 -06:00
Jonathan
0c8c10f553
post-process phase, so minlight doesn't affect emissives
2023-06-10 14:20:53 -04:00
Jonathan
1a27cc025d
infer the name of wal json from the name of the file being loaded
2023-06-09 17:58:58 -04:00
Jonathan
4500b164b6
proper skybox rotations
2023-06-08 23:11:37 -04:00
Jonathan
cd27dae7e1
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-06-08 22:23:16 -04:00
Eric Wasylishen
b626d9447f
lightpreview: wip fixing skybox rendering
2023-06-08 20:22:29 -06:00
Jonathan
0663707fe3
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-06-08 22:18:37 -04:00
Jonathan
9d3b0f9878
alpha test
2023-06-08 22:18:32 -04:00
Eric Wasylishen
89e714a077
lightpreview: don't render frames when not interacting
2023-06-06 23:30:50 -06:00
Eric Wasylishen
502a490e5b
light: hack around surface lights getting a black spot when a luxel lines up with a surflight emission point
2023-06-06 22:29:51 -06:00
Eric Wasylishen
062c458913
lightpreview: use a placeholder texture for missing textures
2023-06-06 20:58:05 -06:00
Eric Wasylishen
9c6f6c2589
common: change FError to throw an exception
2023-06-03 22:24:20 -06:00
Eric Wasylishen
f2ecb9fe1c
lightpreview: add "Open Recent" submenu
2023-06-03 14:02:34 -06:00
Eric Wasylishen
83967699aa
lightpreview: convert to dock widgets. add placeholder output log
2023-06-03 12:31:14 -06:00
Eric Wasylishen
317bf32671
common: use "bright black" for percent text color
...
the "blue" one was hard to read with the Windows legacy terminal color scheme
2023-05-31 22:27:32 -06:00
Jonathan
1e91b21989
use timed file watching, so we only compile any given map once
2023-05-30 12:14:56 -04:00
Eric Wasylishen
0a5debd278
build: fix Linux packaging
...
- rename the tbb + tbbmalloc .so files from .so.X.Y to .so.X
- set rpath to be "$ORIGIN" so the .so files are found
2023-05-29 20:30:49 -06:00
Jonathan
c3461a107b
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-05-29 04:38:08 -04:00
Jonathan
6c2b4f6f04
sky rendering (still needs work)
...
wireframe slightly easier to work with
2023-05-29 04:37:23 -04:00
Eric Wasylishen
d38ef2d8af
qbsp: allow _litwater/_splitturb as a bmodel key
...
supports both opt-in and opt-out
2023-05-28 23:44:57 -06:00
Eric Wasylishen
f6d5e6e24d
qbsp: fix test failure in last commit (stale pointers in map.hashedges)
2023-05-28 16:51:20 -06:00
Eric Wasylishen
731bafd9fe
qbsp: fix edge reuse causing software renderer artifacts with liquids
...
fixes q1_liquid_software.map in tyrquake
thanks to Mankrip for reporting this
2023-05-28 16:28:33 -06:00
Eric Wasylishen
2533e7e40d
qbsp: support _mirrorinside 0 in Q1 mode
...
to disable mirroring water surfaces
2023-05-28 14:00:08 -06:00
Eric Wasylishen
ed7a684583
qbsp: remove dead code contents_are_mirrored()
2023-05-28 11:43:30 -06:00
Eric Wasylishen
31ab43a181
tests: add q1_liquid_software.map (renders badly in tyrquake)
2023-05-28 11:37:35 -06:00
Eric Wasylishen
3e51f2aeaa
lightpreview: report camera position to main window
2023-05-28 00:27:52 -06:00
Eric Wasylishen
fa890456f6
qbsp: don't merge faces across sky boundaries
2023-05-27 23:42:33 -06:00
Jonathan
66815aed40
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-05-27 23:58:49 -04:00
Jonathan
c90113c892
always refresh lightstyle list
2023-05-27 23:58:29 -04:00
Eric Wasylishen
b2bd4f613d
bsputil: fix build
2023-05-27 17:35:25 -06:00
Eric Wasylishen
c649e3a0c8
tests: add ExportWad test
2023-05-27 17:05:41 -06:00
Eric Wasylishen
2703761edb
bsputil: fix --extract-textures writing in text mode
...
also correction to .prt writing, always use text mode
2023-05-27 16:56:07 -06:00
Eric Wasylishen
896da81bd6
bsputil: refactor into a static lib
2023-05-27 13:45:45 -06:00