rayzee 7.22.0 → 7.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -96,8 +96,9 @@ export class BVHBuilder {
|
|
|
96
96
|
reinsertionIterations: 0
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
//
|
|
100
|
-
|
|
99
|
+
// Off: repairs LBVH trees, so on this binned-SAH build it buys 0.005% tree SAH for 72%
|
|
100
|
+
// of build time.
|
|
101
|
+
this.enableTreeletOptimization = false;
|
|
101
102
|
this.treeletSize = 5;
|
|
102
103
|
this.treeletOptimizationPasses = 1;
|
|
103
104
|
this.treeletMinImprovement = 0.02;
|
|
@@ -48,6 +48,8 @@ export class SceneProcessor {
|
|
|
48
48
|
enableTextureCache: true,
|
|
49
49
|
maxConcurrentTextureTasks: Math.min( navigator.hardwareConcurrency || 4, 6 ),
|
|
50
50
|
// Treelet optimization configuration
|
|
51
|
+
// Keep: `_buildBVH` sends `enabled: value !== false`, so undefined re-enables treelets.
|
|
52
|
+
enableTreeletOptimization: false,
|
|
51
53
|
treeletSize: 7, // 7 nodes gives 315 topologies for optimal enumeration
|
|
52
54
|
treeletOptimizationPasses: 1,
|
|
53
55
|
treeletMinImprovement: 0.01, // Minimum SAH improvement threshold
|