Hello,
I'm working on a dynamic real time raytracer on GPU with OpenCL.
I have choose for some reason to use a slightly reworked version of the b2DynamicTree as acceleration structure.
I got really decent performance but I want to go further. So I tried to increase the tree quality.
I have tried to change the cost computation and the research method when inserting a leaf.
I have tried to do something like described in this publication:
http://www.eng.utah.edu/~cs6965/papers/BVH_rotations-tech_report_UUCS-11-002.pdf
Each attempt I made reduced the performance, the original implementation seems well balanced.
I really want to avoid to rebuild the tree, but It's possible to take a little more time each frame to increase the tree quality or when inserting or removing a leaf, since the bottleneck is the raytracing part on the GPU.
If someone has experience on BVH or just some hints 🙂
I'm working on a dynamic real time raytracer on GPU with OpenCL.
I have choose for some reason to use a slightly reworked version of the b2DynamicTree as acceleration structure.
I got really decent performance but I want to go further. So I tried to increase the tree quality.
I have tried to change the cost computation and the research method when inserting a leaf.
I have tried to do something like described in this publication:
http://www.eng.utah.edu/~cs6965/papers/BVH_rotations-tech_report_UUCS-11-002.pdf
Each attempt I made reduced the performance, the original implementation seems well balanced.
I really want to avoid to rebuild the tree, but It's possible to take a little more time each frame to increase the tree quality or when inserting or removing a leaf, since the bottleneck is the raytracing part on the GPU.
If someone has experience on BVH or just some hints 🙂