Eric Wasylishen
2d242fcab6
decompile: pick best split
2021-02-06 17:04:34 -07:00
Eric Wasylishen
cc116a4729
decompile: restore coplanar faces
2021-02-06 16:19:15 -07:00
Eric Wasylishen
8b9e14eaf1
decompile: setup for splitting up coplanar faces
2021-02-06 14:11:24 -07:00
Eric Wasylishen
86a644680a
qvec: add constructor to extend a vector
2021-02-06 14:11:01 -07:00
Eric Wasylishen
32d3fb7f10
decompile: fix typo
2021-02-06 13:57:52 -07:00
Eric Wasylishen
9ae2f8678e
decompile: wip brush creation code
2021-02-05 22:42:44 -07:00
Eric Wasylishen
f0e2f4ba96
common: small tweaks: CopyWinding accepts null, document face side
2021-02-05 22:26:13 -07:00
Eric Wasylishen
e44dbf9307
decompile: add some comments, skip empty brushes
2021-02-04 22:01:37 -07:00
Eric Wasylishen
708d3eccd3
qvec: add unary minus
2021-02-04 22:00:55 -07:00
Eric Wasylishen
f12e87f2b7
light: build fix. Glass/fence textures will need to be fixed.
2021-02-01 02:20:02 -07:00
Eric Wasylishen
8bb848d221
decompile: initial texturing
2021-01-31 01:27:35 -07:00
Eric Wasylishen
0cdd2f97ab
common: revert Face_Miptex change, it was breaking reading of
...
Q1 texture names. TODO: fix this properly?
2021-01-31 01:27:01 -07:00
Eric Wasylishen
54525f4dae
decompile: handle water leafs
2021-01-30 22:09:26 -07:00
Eric Wasylishen
bec54ac47d
decompile: handle brush/point entities
2021-01-30 21:32:53 -07:00
Eric Wasylishen
9124653156
common: move EntData_ function to common
2021-01-30 21:11:25 -07:00
Eric Wasylishen
760f18f2ae
bsputil: decompiler wip
2021-01-30 20:25:47 -07:00
Eric Wasylishen
d4aa42f0ab
bsputil: decompiler wip
2021-01-30 14:49:18 -07:00
Eric Wasylishen
ba2ffaa6b9
build: update appveyor config
2021-01-02 13:59:22 -07:00
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