Commit Graph

250 Commits

Author SHA1 Message Date
Jarrod Doyle 26fd0738f0
Update readme to point to TTLG thread 2025-04-07 18:06:58 +01:00
Jarrod Doyle 17bfe8f60e
Update version 2025-02-23 20:22:08 +00:00
Jarrod Doyle 3e2abbe968
Fix #18: Remove complanarity check between pass poly and target poly 2025-02-23 20:19:10 +00:00
Jarrod Doyle 651243d91f
Fix #19: Verify sun traces with a reverse occlusion trace 2025-02-23 20:13:59 +00:00
Jarrod Doyle 8864993463
Fix light vis not including light's cell in fast mode 2025-02-23 19:40:21 +00:00
Jarrod Doyle 3edc5eb758
Full release! 2025-02-23 18:31:23 +00:00
Jarrod Doyle 51aa7a96a9
Add warning for quad lit flag when using shadow softness 2025-02-23 18:10:11 +00:00
Jarrod Doyle 8b25290cfd
Add license 2025-02-23 14:38:06 +00:00
Jarrod Doyle 3545b9cbc7
Add a readme 2025-02-23 14:36:57 +00:00
Jarrod Doyle ccd1c6ef82
Remove PVS lighting stage 2025-02-23 10:21:06 +00:00
Jarrod Doyle db0a70607d
Reword timing stages 2025-02-23 10:18:04 +00:00
Jarrod Doyle dacc9ea5e1
Add total timing 2025-02-23 10:13:12 +00:00
Jarrod Doyle 00537fa3ca
Add AnimLightCutoff warning 2025-02-23 10:12:27 +00:00
Jarrod Doyle bb50b2aba4
Handle all light validation warnings in one place 2025-02-23 10:05:21 +00:00
Jarrod Doyle cfd1d7577c
Add zero brightness brush light warning 2025-02-23 09:41:07 +00:00
Jarrod Doyle 796b570347
Update 0 brightness light warning 2025-02-23 09:29:40 +00:00
Jarrod Doyle 21425d8cd3
Disable buffered log writes
Logs were getting cut off due to the buffering. Could likely be solved using SerilogSinksAsync, but this works for now.
2025-02-23 09:26:16 +00:00
Jarrod Doyle 1c2210dbab
Update version to 0.6.0 2025-02-22 20:45:32 +00:00
Jarrod Doyle d4761ca682
Update overlit warning 2025-02-22 20:41:06 +00:00
Jarrod Doyle fbc24b855a
Warn about lights outside of the world 2025-02-22 20:38:38 +00:00
Jarrod Doyle 1c869bb123
Remove debug cell lighting log 2025-02-22 20:32:00 +00:00
Jarrod Doyle 170ec83fb1
Early out on light vis max range 2025-02-22 20:28:28 +00:00
Jarrod Doyle 18abe30b03
Calculate exact light to cell visibility by default
The old UsePvs flag has been renamed to FastPVS. The old default behaviour of not using any visibility culling has been removed, and the default is now an exact shrinking frustum algorithm.
2025-02-22 19:38:38 +00:00
Jarrod Doyle e78e53ff51
Remove door blocking cell portal polys from casting mesh 2025-02-21 17:29:46 +00:00
Jarrod Doyle cab85f3ea1
Remove debug setting prints 2025-02-21 17:24:49 +00:00
Jarrod Doyle bd3178398c
Warn about 0 brightness lights 2025-02-21 17:24:13 +00:00
Jarrod Doyle b0ceb0f845
Close #16: Apply LmParams saturation 2025-02-21 16:53:57 +00:00
Jarrod Doyle f4d5dcbd5a
Apply LmParams attenuation 2025-02-16 11:44:02 +00:00
Jarrod Doyle 4827ffb76b
Extract light configuration validation to method and add check for aggressive inner radius usage 2025-02-02 08:42:22 +00:00
Jarrod Doyle fafae43c56
Don't try and compute visibility for lights outside of the world 2025-01-28 17:49:52 +00:00
Jarrod Doyle db0b1f9c7a
Pre-compute cell visibility in parallel 2025-01-28 17:35:52 +00:00
Jarrod Doyle b493c447c7
Make Nodes readonly and track Node computation on PVS 2025-01-28 17:35:10 +00:00
Jarrod Doyle 77f69be219
Only compute mightsee for edges of cells with lights in 2025-01-28 17:33:25 +00:00
Jarrod Doyle 3040914afb
Precalculate edge list capacity 2025-01-28 17:23:08 +00:00
Jarrod Doyle 1f0b87f3de
Set correct length on edge MightSee arrays 2025-01-28 16:57:16 +00:00
Jarrod Doyle ec9c20423d
Use BitArray for MightSee 2025-01-27 19:25:51 +00:00
Jarrod Doyle f12e723056
Early outs for portals fully behind target/source 2025-01-27 18:58:41 +00:00
Jarrod Doyle e93efb91f2
Early out of valid portal checks if destination is already marked as mightsee 2025-01-27 18:09:46 +00:00
Jarrod Doyle 13929e44a6
Change MightSee to a bool array 2025-01-27 18:09:11 +00:00
Jarrod Doyle 54655254b9
Use faster plane distance calculation 2025-01-27 18:07:59 +00:00
Jarrod Doyle e48393b856
Update version to 0.5.0 2025-01-26 18:16:08 +00:00
Jarrod Doyle 65c248de84
Add PVS flag 2025-01-26 17:54:09 +00:00
Jarrod Doyle 392c7b24b5
Add custom TinyEmbree package with backface culling 2025-01-26 17:27:31 +00:00
Jarrod Doyle 8ae23eafb6
Reverse mesh poly winding order 2025-01-26 17:20:46 +00:00
Jarrod Doyle 007b4f8f1c
Mark object polys as Object surface type 2025-01-26 12:57:17 +00:00
Jarrod Doyle cae43f12ad
Fix shadow acne on super shallow lighting angles 2025-01-26 12:55:20 +00:00
Jarrod Doyle c28626bf20
Rewrite occlusion checks to use different scenes where relevant 2025-01-26 12:35:35 +00:00
Jarrod Doyle 223aee980e
Slight GetTracePoints refactor 2025-01-26 12:33:01 +00:00
Jarrod Doyle 3f6ed89667
Build two scenes, one with objects and one without 2025-01-26 12:26:27 +00:00
Jarrod Doyle 62f2886eb4
Make ComputeEdgeMightSee iterative 2025-01-20 18:48:57 +00:00