Jonathan
f816b433d1
fix visible clip brushes
...
add support for the two missing content flags from re-release
2024-06-07 21:22:38 -04:00
Jonathan
8c93a4b1ff
fix non-Windows
2024-06-02 19:59:53 -04:00
Jonathan
b5089ce349
slight speedup by helping embree with alignment
...
merge some light algorithms together
allow changing attenuation on surface lights with _surflight_atten
replace some emplace_back's with push_back to improve compilation times
2024-06-02 19:49:32 -04:00
Eric Wasylishen
aa3b8479b4
qbsp: shrink node_t from 280 to 208 bytes
...
- contentflags_t from 80 to 8 bytes
2024-03-09 19:37:23 -07:00
Eric Wasylishen
6351cc50e6
rename: vec_t -> double
2023-12-23 21:09:16 -07:00
Jonathan
ec452e2291
remove implicit conversion for qplane3
2023-11-19 19:41:58 -05:00
Eric Wasylishen
5229cd6efe
decompile: build fix
2023-10-23 19:30:12 -06:00
Eric Wasylishen
d6fbefaf0e
lightpreview: decompile hulls for leaf visualization
2023-10-19 00:10:42 -06:00
Eric Wasylishen
a2ea5d8217
style: remove all "using namespace polylib"
2023-08-07 15:33:09 -06:00
Eric Wasylishen
7691706bda
build: only use <fmt/core.h>, other headers have a heavy compilation time impact
2023-07-02 17:08:14 -06:00
Eric Wasylishen
36e157254c
build perf: de-templateize texvec<T>, we only need texvecf
2023-06-25 18:25:45 -06:00
Eric Wasylishen
c9e41ab4db
style: remove GLM_ prefix (no longer using glm)
2023-05-07 21:44:29 -06:00
Eric Wasylishen
7a8898c9a0
decompiler: fix q1 decompiler
...
Decompiling a leaf in Q1 can output more than one brush, because of texturing.
Previously we were outputting 1 invalid brush.
2023-02-26 22:06:42 -07:00
Eric Wasylishen
b17633f746
cleanup: set PackConstructorInitializers: Never
2023-02-20 10:23:59 -07:00
Eric Wasylishen
eda6155844
cleanup: run ./clang-format-all.sh
...
clang-format version 15.0.7
2023-02-18 22:59:43 -07:00
Eric Wasylishen
9edad10b0f
common: add convenience version of EntData_Parse
2023-01-30 00:08:45 -07:00
Eric Wasylishen
ab78b43c52
decompile: BuildInitialBrush_Q2: prefer earlier brush sides
...
fixes issue with bevels sometimes being used to texture faces,
which have randomly wrong texture projections
2022-11-26 19:34:25 -07:00
Eric Wasylishen
f7370db0be
decompile: avoid generating three points from micro-faces
2022-11-25 01:05:41 -07:00
Eric Wasylishen
8b82460201
decompile: output source brush number
2022-11-25 00:32:31 -07:00
Eric Wasylishen
743e177694
decompile: BuildInitialBrush_Q2: fix handling of redundant planes
2022-11-25 00:32:18 -07:00
Eric Wasylishen
2bd2515792
all: cleanup unused includes (Clion - detect not directly used)
2022-10-31 21:37:34 -06:00
Eric Wasylishen
636b376577
squash brushbsp-compilation-speedup branch
...
move function implementations out of headers
2022-10-21 18:00:58 -06:00
Eric Wasylishen
1726f95484
use <fmt/core.h> instead of <fmt/format.h>
...
Should lighten compile times.
The only loss here is we'll no longer inherit e.g. "float" format specifiers for qvec3f.
2022-09-29 19:49:48 -06:00
Eric Wasylishen
c0c146d47c
bsputil: move decompiler to common
2022-08-19 20:49:34 -06:00