Eric Wasylishen
a8be516bf4
light: embree3 port
2021-01-02 02:21:03 -07:00
Eric Wasylishen
94c30afac4
light: refactoring necessary to support embree3
2021-01-01 23:48:22 -07:00
Eric Wasylishen
cce0fd98f9
light: document some intersection vs occlusion trace choices
2021-01-01 22:58:09 -07:00
Eric Wasylishen
09623934e8
light: q2: change sky lighting logic: only emit light if: sky flag set, light flag set, value nonzero
...
TODO: may need to use "value" more than just checking for nonzero
2021-01-01 00:30:40 -07:00
Eric Wasylishen
3b629f3ce9
light: fix q2 lightstyles
2021-01-01 00:14:52 -07:00
Eric Wasylishen
00e41688c3
light: quake2: arghrad-compatible phong support
...
(set face "value" to the same non-zero number, have light flag unset)
2020-12-31 12:39:17 -07:00
Eric Wasylishen
d8dc3ea3e5
appveyor: request vs2019 image
2020-12-29 17:38:49 -07:00
Eric Wasylishen
9d55d80db0
build: use 142 toolchain (VS2019)
2020-12-29 17:33:55 -07:00
Eric Wasylishen
d8b30c1080
light: don't throw an error on -v (passed by quark)
2020-12-29 16:40:09 -07:00
Eric Wasylishen
2d15d20410
light: q2: avoid black seams on geometry near sky
2020-12-29 15:58:40 -07:00
Eric Wasylishen
eb842ba165
light: arghrad compat: preliminary sky_surface implementation
2020-12-29 13:43:06 -07:00
Eric Wasylishen
bb4d6fdea9
light: add arghrad compatible sunlight keys sun_light, sun_color, sun_angle
2020-12-29 12:59:44 -07:00
Julian Priestley
1b714108cd
Add ability to set phong in worldspawn #267 ( #305 )
2020-11-30 00:42:42 -07:00
Eric Wasylishen
6f99f469c6
docs: remove _no_bbox_rotation_expansion from qbsp docs, key was removed
2020-10-04 18:08:37 -06:00
tk
19f8ac8110
Add -visdist param from bjptools ( #300 )
...
* Add support for -visdist param from bjp tools
* add mention to man
Co-authored-by: Shpuld Shpuldson <shp@cock.li>
2020-09-18 19:11:38 -06:00
Eric Wasylishen
2f92681ba6
polylib: increase limits in BaseWindingForPlane
2020-08-23 11:35:15 -06:00
Eric Wasylishen
b6e6688ab4
light: use RTC_SCENE_HIGH_QUALITY. Fixes leaking through a joint
...
between 2 ceiling faces in a test case from 4LT
2020-08-20 18:02:38 -06:00
Eric Wasylishen
b35cb8eb7e
light: fixes for bjptools skip faces (which have no associated model)
2020-08-20 12:08:46 -06:00
Eric Wasylishen
0708999ba3
docs: update for some recent feature additions
2020-08-04 19:54:32 -06:00
Eric Wasylishen
5ca74ec8b3
light: don't apply AO when gathering light to bounce
2020-08-04 19:18:14 -06:00
Eric Wasylishen
263f6301a6
light: change switchable shadows to only block style 0
...
The interactions with switchable/flickering lights were bad, previously
(a switched-off light would become "on" after passing through a switched
off shadow)
2020-08-04 18:14:01 -06:00
Eric Wasylishen
a0e7f1eccb
light: refactor last commit's std::pair to a custom struct
2020-08-04 18:05:54 -06:00
Eric Wasylishen
1b53d458f4
light: support bounce and switchable shadows
...
fixes #251
2020-08-03 23:53:07 -06:00
Eric Wasylishen
03ed0697a4
light: add -litonly option for re-lighting a bsp without modifying it
2020-08-03 00:40:13 -06:00
Eric Wasylishen
189a83051a
fix build (changelog.txt was renamed)
2020-07-21 21:25:22 -06:00
Eric Wasylishen
1dee7269d6
qbsp: dont't clip self-intersecting func_detail_fence and func_detail_illusionary
...
Makes foliage easier with _mirrorinside 1
2020-07-21 20:46:18 -06:00
Eric Wasylishen
4e9e94e7bd
ltface: GetLightContrib: handle light right on top of sample point
2020-06-25 00:03:38 -06:00
Eric Wasylishen
569e7fad02
bsputil: make --settexinfo operate in place on the .bsp
2020-05-14 19:53:48 -06:00
Eric Wasylishen
78e902b75e
bsputil: add option for swapping a face's texinfo, --findfaces
2020-05-14 17:32:54 -06:00
Eric Wasylishen
c5f15c6b7f
.gitignore updates
2020-05-14 16:40:05 -06:00
Eric Wasylishen
55be071b23
docs: update changelog, convert to markdown
2020-02-25 01:06:10 -07:00
Eric Wasylishen
dc4e18d053
qbsp: fix typo
2020-02-24 01:30:50 -07:00
Eric Wasylishen
c30a0a46a9
qbsp: fix origin brushes in hexen 2. Drop _no_bbox_rotation_expansion
...
document origin brushes. Never expand the bbox when origin brushes are in
use.
2020-02-24 01:26:53 -07:00
Eric Wasylishen
b56afb5988
Merge pull request #290 from ericwa/qbsp_threading
...
Qbsp threading
2020-02-01 18:06:31 -07:00
Eric Wasylishen
f3a3b62875
CI: install TBB on linux/macOS
2020-02-01 17:41:05 -07:00
Eric Wasylishen
22544c3068
Appveyor: disable 32-bit build. Try to update to a compatible TBB/embree
...
version
2020-02-01 12:45:51 -07:00
Eric Wasylishen
7b5824ad2b
build: mark embree as required
2020-01-29 23:10:17 -07:00
Eric Wasylishen
8a468bd6fd
CI: fix TBB version
2020-01-29 23:10:06 -07:00
Eric Wasylishen
a91ee8cc7e
qbsp: fix heap corruption errors on VS2019. Winding bookkeeping is wrong
...
now
2020-01-29 22:46:39 -07:00
Eric Wasylishen
0873b0af2c
qsbp: code cleanup
2020-01-29 22:45:55 -07:00
Eric Wasylishen
d083f0f87f
qbsp: parallelize PartitionSurfaces
2020-01-29 21:14:55 -07:00
Eric Wasylishen
1a161b3ad5
qbsp: code cleanup
2020-01-29 20:56:29 -07:00
Eric Wasylishen
f07f3fa2d7
appveyor: try to install tbb
2020-01-29 20:01:17 -07:00
Eric Wasylishen
f74d85c022
Revert "qbsp: parallelize solidbsp"
...
This reverts commit 2ebfa8d780 .
2020-01-29 01:51:31 -07:00
Eric Wasylishen
2ebfa8d780
qbsp: parallelize solidbsp
2020-01-29 01:22:29 -07:00
Eric Wasylishen
1f565d7e7a
qbsp: parallelize CSGFaces
2020-01-28 21:18:08 -07:00
Eric Wasylishen
e2a5f62f32
vis: temporary hack of raising MAX_PORTALS_ON_LEAF to 512
2020-01-21 00:24:03 -07:00
Eric Wasylishen
060c44bd02
light: move function
2019-12-28 22:47:15 -07:00
Eric Wasylishen
d6136c154d
light: add _light_alpha func_group key for making faces translucent for
...
light
2019-12-28 21:48:33 -07:00
Eric Wasylishen
2d3aa22242
light: add _nostaticlight key
2019-12-26 17:13:21 -07:00