Eric Wasylishen
a287eb0c22
docs: create a stub for the maputil, lightpreview docs
2023-10-01 12:58:39 -06:00
Eric Wasylishen
a109dfca28
lightpreview: add "show bmodels" checkbox
2023-09-30 15:18:14 -06:00
Eric Wasylishen
248ed7c614
lightpreview: render Q1 faces with missing textures
2023-09-30 11:41:34 -06:00
Eric Wasylishen
f9a9733068
qbsp: fix crash in CheckPlaneAgainstVolume if node->volume is already empty
2023-09-28 20:30:49 -06:00
Eric Wasylishen
8362ffa385
qbsp: fix memory/.bsp file corruption if map contains a texture name longer than 31 characters
2023-09-24 19:42:42 -06:00
Eric Wasylishen
91734ac8f6
light: fix gcc9 build
2023-09-17 21:24:04 -06:00
Eric Wasylishen
e6d9605b86
light: fix lightgrid assertion failure if lightgrid gets a nan (separate bug)
2023-09-17 20:27:29 -06:00
Eric Wasylishen
ec7b848f76
tests: fix issue where stray bsp's in testmaps/ folder cause false test failures
...
- typically the CI tests read maps from testmaps/foo.map and write to cmake-build-release/tests/foo.bsp.
- having a stray testmaps/foo.bsp would cause the qbsp part of the test to write to cmake-build-release/tests/foo.bsp
- then the "light" part of the test would prefer to read the bad testmaps/foo.bsp instead of the correct cmake-build-release/tests/foo.bsp
2023-09-17 17:03:42 -06:00
Eric Wasylishen
872f5fe8a0
build: copy + install mingw dll's libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll
2023-09-16 14:28:06 -06:00
qruf
d189145a01
build: fixes for mingw support ( #373 )
2023-09-16 13:15:31 -06:00
Jonathan
0509c9a790
fix multiple bounce interaction with lightgrid
2023-09-16 11:55:10 -04:00
Jonathan
147be8f87a
some optimizations in indirect lighting code
...
multiple bounce support
2023-09-16 00:41:05 -04:00
Josh Dowell
04044dd76d
lightpreview: fix texture mips not being generated ( #385 )
...
This was happening because allocateStorage allocates space for the texture and its mips up-front, the user of QOpenGLTexture is required
to determine the number of mips required for a texture beforehand.
allocateStorage was allocating space for mip 0 and no others, leading to no additional mips being generated.
This also adds explicit format and type to allocateStorage for only this instance, although it still remains optional.
2023-09-13 23:18:51 -06:00
Eric Wasylishen
20f7a83efa
tests: fix bad expectation for q1_sunlight
2023-09-11 22:11:33 -06:00
Eric Wasylishen
507c315f78
light: fix missing textures accidentally activating "suntexture" feature and breaking sunlight
...
Fixes #376
2023-09-11 21:44:38 -06:00
Eric Wasylishen
dedc524f6a
lightpreview: add fixme
2023-09-11 19:35:20 -06:00
Eric Wasylishen
486f63f2d8
bspfile.cc: fix infinite loop
2023-09-11 18:47:56 -06:00
Eric Wasylishen
741b0b77ed
lightpreview: fix loading a .bsp failing if there were light options set in the ui
2023-09-09 16:50:05 -06:00
Eric Wasylishen
2859f80465
build: lightpreview is enabled by default
2023-09-09 16:24:56 -06:00
Jonathan
69bc2c04c0
fix crash if projected texture is not found
2023-09-08 10:43:48 -04:00
Jonathan
6baa1243cf
allow auto-gamedir to handle subdirectoried maps properly
...
fix include paths
2023-09-08 08:41:56 -04:00
Jonathan
2e3ed6c0a2
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
...
# Conflicts:
# maputil/maputil.cc
2023-09-07 14:56:00 -04:00
Jonathan
5619e2abef
map file separation
2023-09-07 14:55:37 -04:00
Eric Wasylishen
f069800015
build: use forward slashes in includes
2023-09-04 00:52:36 -06:00
Jonathan
ba532ac0ab
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-09-04 02:51:27 -04:00
Jonathan
7d881768fa
Revert "Revert "reduce memory usage by only storing VPLs when we need to, and only once""
...
This reverts commit 2e0e23622b .
Disable rescale by default on sky faces.
Light is now in control of rescales' default value.
Multiply omni light faces by 0.5 to better match qrad3
Remove some asserts to increase perf
2023-09-04 02:51:20 -04:00
Eric Wasylishen
7c124a0538
build: work around gcc wanting member initializers in constexpr constructor
2023-09-04 00:45:45 -06:00
Eric Wasylishen
1924954758
build: fix clang-cl build
2023-09-04 00:42:00 -06:00
Eric Wasylishen
5c285052d1
lightpreview: note some threading bugs
2023-09-03 23:20:36 -06:00
Eric Wasylishen
43c24bc181
Update .gitignore
2023-09-03 23:20:36 -06:00
Jonathan
1262ce3f78
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-09-04 00:16:36 -04:00
Jonathan
cec120dfc9
maputil starting point
2023-09-04 00:16:23 -04:00
Eric Wasylishen
832d7d0413
lightpreview: add .lit loading
2023-09-03 11:31:41 -06:00
Eric Wasylishen
b8132be96e
lightpreview: fix crash on Q1 maps with missing textures
2023-08-30 23:08:36 -06:00
Eric Wasylishen
b893e67309
light: add _light_twosided 1 key for forcing two-sided light receiving on opaque surfaces
2023-08-29 01:44:16 -06:00
Eric Wasylishen
b71a4ebaf1
light: wip fix for two-sided liquid lighting + surface lights
2023-08-28 23:33:55 -06:00
Eric Wasylishen
c42dee4749
lightpreview: add Alt+1..5 shortcuts for render modes
2023-08-28 21:43:43 -06:00
Eric Wasylishen
2e0e4141cf
lightpreview: set dark theme
2023-08-28 21:34:22 -06:00
Eric Wasylishen
6c6bed2597
lightpreview: add "Draw Translucency as Opaque" checkbox
2023-08-27 14:58:08 -06:00
Eric Wasylishen
44dadd87b2
imglib: add -tex_saturation_boost [n], defaults to 0.0, 1.0 emulates Q2 tools
2023-08-26 23:49:48 -06:00
Jonathan
8cb2b72237
restore default visapprox
2023-08-26 23:06:49 -04:00
Jonathan
2e0e23622b
Revert "reduce memory usage by only storing VPLs when we need to, and only once"
...
This reverts commit fcf39b2ef8 .
# Conflicts:
# include/light/light.hh
# include/light/surflight.hh
# light/bounce.cc
# light/light.cc
# light/ltface.cc
# light/surflight.cc
2023-08-26 23:03:25 -04:00
Jonathan
d296b883bf
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-08-21 10:54:19 -04:00
Jonathan
9d7f83a46a
don't remove style keys from non-areaportals if the map leaks
2023-08-21 10:54:10 -04:00
Eric Wasylishen
1bf726de9e
docs: document _surflightscale + _surflightskyscale
2023-08-17 01:13:01 -06:00
Jonathan
e4ca86c846
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2023-08-15 07:51:39 -04:00
Jonathan
131e395470
add common args
2023-08-15 07:51:35 -04:00
Eric Wasylishen
3a054c1ffc
build: fix build labels on GitHub Actions
2023-08-14 00:30:20 -06:00
Eric Wasylishen
3f8042f174
ci: update appveyor's github token
2023-08-14 00:01:23 -06:00
Eric Wasylishen
9c5cc336a6
ci: don't use GitHub Actions for Windows releases
2023-08-13 23:11:47 -06:00