Closed ajtribick closed 4 months ago
The switch from creating all 8 child nodes at the same time to only creating when an object needs to be added reduces the number of nodes in the final octree:
Stars: 112745 --> 111176 DSOs: 6337 -> 4095
We also track the brightness via the objects contained within each node (and descendant nodes) rather than using the computed threshold magnitudes, this should allow for earlier culling of faint nodes when processing visible objects.
Any difference in loading & finding stars?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Didn't see any major differences in render time processing the star octree, seems slightly faster (by 0.1-0.5 ms, so nothing really noticeable) to build the star octree.