Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Keep the #638 change notes and put this pull request's in new files (issue #623)

Nguyen Xuan Anc07afe699169
diff --git a/changes/623-tree-2.md b/changes/623-tree-2.md
new file mode 100644
index 00000000..43563209
--- /dev/null
+++ b/changes/623-tree-2.md
@@ -0,0 +1 @@
+- The light tree splits by the surface area orientation heuristic, draws 90 percent by the angle-aware measure, runs on the WebGPU tracer (megakernel and wavefront), and `lightSelection` defaults to `"auto"`: the tree for a scene with more than 8 local lights, uniform otherwise (#623)
diff --git a/changes/623-tree-2.size.md b/changes/623-tree-2.size.md
new file mode 100644
index 00000000..d3a66055
--- /dev/null
+++ b/changes/623-tree-2.size.md
@@ -0,0 +1,5 @@
+- entry:path-tracer: the SAOH light tree builder and the "auto" light selection; many-lights FLIP against Cycles goes from 0.1471 (uniform) to 0.0593 at 64 samples.
+- entry:path-tracer+lazy: the same light tree, now also packed for the WebGPU megakernel and wavefront kernels.
+- entry:path-tracer-progressive+lazy: the progressive preview resolves "auto" per scene and carries the WebGPU tree.
+- entry:path-tracer-realtime+lazy: shares the WebGPU tracer chunk that gained the tree.
+- entry:light-bake-gpu+lazy: shares the path tracer chunk that gained the tree.
diff --git a/changes/623-tree.md b/changes/623-tree.md
index 43563209..37cc88ab 100644
--- a/changes/623-tree.md
+++ b/changes/623-tree.md
@@ -1 +1 @@
-- The light tree splits by the surface area orientation heuristic, draws 90 percent by the angle-aware measure, runs on the WebGPU tracer (megakernel and wavefront), and `lightSelection` defaults to `"auto"`: the tree for a scene with more than 8 local lights, uniform otherwise (#623)
+- Path tracer `lightSelection: "tree"`: a light tree after Conty and Kulla (2018) as Cycles builds it, on the CPU reference and the WebGL2 kernel. On the new 24 lamp `many-lights` scene it scores 0.0617 against Cycles at 64 samples (uniform 0.1471) and takes 38 ms per full size sample against 72 ms; it stays off by default because it scores worse than uniform on `brick-room` and `light-linking` (issue #623)
diff --git a/changes/623-tree.size.md b/changes/623-tree.size.md
index d3a66055..5667b305 100644
--- a/changes/623-tree.size.md
+++ b/changes/623-tree.size.md
@@ -1,5 +1,7 @@
-- entry:path-tracer: the SAOH light tree builder and the "auto" light selection; many-lights FLIP against Cycles goes from 0.1471 (uniform) to 0.0593 at 64 samples.
-- entry:path-tracer+lazy: the same light tree, now also packed for the WebGPU megakernel and wavefront kernels.
-- entry:path-tracer-progressive+lazy: the progressive preview resolves "auto" per scene and carries the WebGPU tree.
-- entry:path-tracer-realtime+lazy: shares the WebGPU tracer chunk that gained the tree.
-- entry:light-bake-gpu+lazy: shares the path tracer chunk that gained the tree.
+- entry:path-tracer: the light tree builder and walk (about 1.7 KB gzip) let the CPU reference match the GPU light tree; it is the only way to draw many lights with fewer shadow rays
+- entry:path-tracer+lazy: the light tree builder and walk, plus the GLSL walk in the lazy kernel
+- entry:path-tracer-progressive: the light tree builder and the GLSL walk of the GPU kernel (about 2.2 KB gzip)
+- entry:path-tracer-progressive+lazy: the light tree builder and the GLSL walk of the GPU kernel
+- entry:path-tracer-realtime: the shared GPU kernel source carries the light tree walk, a branch the real-time path leaves off
+- entry:path-tracer-realtime+lazy: the shared GPU kernel source carries the light tree walk
+- entry:light-bake-gpu+lazy: the shared GPU kernel source carries the light tree walk, a branch the bake leaves off