Eric Wasylishen
|
b17633f746
|
cleanup: set PackConstructorInitializers: Never
|
2023-02-20 10:23:59 -07:00 |
Eric Wasylishen
|
f8b189c527
|
light: fix sample occlusion / object channel mask interaction
|
2023-02-20 01:03:12 -07:00 |
Eric Wasylishen
|
dd6e49c89f
|
light: support _object_channel_mask on func_group
|
2023-02-20 00:07:08 -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
|
1d38ff0ff3
|
light: add -lightgrid_force_pot (power of two)
|
2023-02-18 20:15:47 -07:00 |
Eric Wasylishen
|
c590400c46
|
light: lightgrid: add -lightgrid_force_cube
|
2023-02-18 19:15:34 -07:00 |
Eric Wasylishen
|
a9adaca52f
|
light: lightgrid_format: change default to OCTREE
|
2023-02-18 19:14:55 -07:00 |
Eric Wasylishen
|
caf8fe9cbd
|
bsputils: remove Light_PointInSolid bounds check hack
it was returning points outside of the level as "non-solid" which is
wrong for sealed maps
|
2023-02-18 19:04:56 -07:00 |
Eric Wasylishen
|
7d6ed20dc1
|
unused includes cleanup
|
2023-02-18 16:14:11 -07:00 |
Eric Wasylishen
|
8516bfb5e2
|
light: skip lightmapping sky faces if lightgrid is in use
|
2023-02-17 17:41:49 -07:00 |
Eric Wasylishen
|
8cc7b0e3f3
|
light: add test for sky getting an optimized lightmap
|
2023-02-17 00:24:08 -07:00 |
Eric Wasylishen
|
641fb780ac
|
light: allow customizing _world_units_per_luxel on func_group etc.
|
2023-02-17 00:07:43 -07:00 |
Eric Wasylishen
|
c4910a158f
|
docs: add custom directives
|
2023-02-16 17:25:34 -07:00 |
Eric Wasylishen
|
2d292250c9
|
light: fix missing return statements
|
2023-02-15 00:25:24 -07:00 |
Eric Wasylishen
|
6c1b8cb31c
|
light: lightgrid: fix not using data.occlusion, data.grid_result
|
2023-02-15 00:22:12 -07:00 |
Eric Wasylishen
|
78f90c1e3b
|
light: lightgrid: fix order of saving data.grid_dist
|
2023-02-15 00:18:52 -07:00 |
Eric Wasylishen
|
2d515437e1
|
light: lightgrid: code reorganization
|
2023-02-14 09:56:47 -07:00 |
Eric Wasylishen
|
03b5537c80
|
imglib: document "color" key of .wal_json
|
2023-02-13 20:55:38 -07:00 |
Jonathan
|
72a0a92d3a
|
fix area assertion/test failure
|
2023-02-13 20:41:11 -05:00 |
Jonathan
|
dd75cdf3e3
|
don't bother with area portal flooding if we are leaked
|
2023-02-13 20:18:09 -05:00 |
Eric Wasylishen
|
776bcd43cc
|
light: octree lightgrid: don't subdivide further if mostly unoccluded
|
2023-02-12 17:54:34 -07:00 |
Eric Wasylishen
|
f5fad41402
|
light: add debug visualization for octree lightgrid
|
2023-02-12 16:35:46 -07:00 |
Eric Wasylishen
|
48fe527955
|
light: add _lightgrid_hint point entity key for customizing lightgrid bounds
use it as a info_null key: "_lightgrid_hint" "1"
|
2023-02-12 15:03:08 -07:00 |
Eric Wasylishen
|
7b8e55f594
|
light: move lightgrid code to its own file
|
2023-02-12 14:10:02 -07:00 |
Eric Wasylishen
|
1c56b060b1
|
light: use bounding box of face for lightgrid bounds
tighter bounds than dmodel bounds
|
2023-02-12 13:00:30 -07:00 |
Eric Wasylishen
|
7e6337027a
|
bsputils: add Model_BoundsOfFaces
|
2023-02-12 12:46:22 -07:00 |
Eric Wasylishen
|
9ac75563fd
|
light: fix ambiguous constructor error on gcc12
|
2023-02-12 10:23:58 -07:00 |
Jonathan
|
c954953735
|
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
|
2023-02-12 08:10:59 -05:00 |
Jonathan
|
4c7459e673
|
fix the condition for Q2 phong warning
|
2023-02-12 08:10:52 -05:00 |
Eric Wasylishen
|
85ba6ca205
|
qbsp: fix "unsigned marksurfaces" warning printing wrongly after auto upgrade
|
2023-02-11 22:30:49 -07:00 |
Jonathan
|
ec55e5f2da
|
fix some data bugs with lightgrid octree mode
|
2023-02-11 12:19:00 -05:00 |
Eric Wasylishen
|
f399b95bb8
|
light: add octree experimental version of lightgrid lump
|
2023-02-10 08:54:30 -07:00 |
Eric Wasylishen
|
6aa705e5f6
|
light: expand cluster bounds by 1 unit on each axis, clamp to overall grid size
|
2023-02-10 00:57:01 -07:00 |
Eric Wasylishen
|
22be0c4077
|
light: add -lightgrid_format option. takes "cluster" or "uniform"
|
2023-02-10 00:56:21 -07:00 |
Eric Wasylishen
|
051cc29afb
|
light: add operator== for lightgrid_samples_t
|
2023-02-10 00:29:14 -07:00 |
Eric Wasylishen
|
92eb58d715
|
bsputils: fix ClusterToLeafnumsMap
|
2023-02-08 01:05:17 -07:00 |
Eric Wasylishen
|
a8af353461
|
light: add another experimental LIGHTGRID_PERCLUSTER bspx lump
lower lightgrid_dist default from 64 to 32
|
2023-02-08 00:12:22 -07:00 |
Eric Wasylishen
|
71a0ce77ac
|
qbsp: q2: set leaf 0's cluster to -1
leaf 0 is the invalid placeholder leaf, but we were giving it
cluster 0 which is valid. instead, give it cluster -1
|
2023-02-07 23:17:55 -07:00 |
Eric Wasylishen
|
96c7658b80
|
light: nudge lightgrid points if stuck in solid
|
2023-02-07 00:56:27 -07:00 |
Eric Wasylishen
|
aa831d9ac3
|
light: add -lightgrid_dist
|
2023-02-07 00:46:54 -07:00 |
Eric Wasylishen
|
284e5f1dec
|
light: remove some Q_asserts on hot path
|
2023-02-07 00:26:37 -07:00 |
Eric Wasylishen
|
13fcc75bac
|
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
|
2023-02-06 22:04:34 -07:00 |
Eric Wasylishen
|
1eda091542
|
light: LightPoint_SurfaceLight: use pvs
|
2023-02-06 22:03:03 -07:00 |
Eric Wasylishen
|
e1f40ad995
|
light: LightGrid: don't calculate lighting for occluded samples
|
2023-02-06 21:56:51 -07:00 |
Jonathan
|
c2acae8c6b
|
fix hint brushes
|
2023-02-06 21:58:53 -05:00 |
Eric Wasylishen
|
5f31141ac1
|
Revert "light: hack for sky + LIGHTGRID lump"
This reverts commit af2e8ae404.
|
2023-02-06 19:07:45 -07:00 |
Jonathan
|
5cd2a334f6
|
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
|
2023-02-06 17:08:00 -05:00 |
Jonathan
|
11e2c02757
|
use 512 units per luxel for sky faces (not fully finished/working yet; they still get affected by dirt)
|
2023-02-06 17:07:46 -05:00 |
Eric Wasylishen
|
af2e8ae404
|
light: hack for sky + LIGHTGRID lump
just sample the sunlight omnidirectionally
|
2023-02-05 23:09:05 -07:00 |
Eric Wasylishen
|
712f413ac8
|
light: LIGHTGRID lump: change packing of sample points
|
2023-02-05 22:03:07 -07:00 |