Is your feature request related to a problem? Please describe.
Currently, I am using BVH only for ray tracing, in the future, I would like to use it for more purposes. The generation of this structure can get expensive. I need to solve that.
Describe the solution you'd like
The solution should come in multiple ways.
Saving of finished BVG
Run it in a separate thread (needs a job system ideally)
Speed up generation itself + improve the result
Additional context
BVH is currently longest part of scene load
Is your feature request related to a problem? Please describe. Currently, I am using BVH only for ray tracing, in the future, I would like to use it for more purposes. The generation of this structure can get expensive. I need to solve that.
Describe the solution you'd like The solution should come in multiple ways.
Additional context BVH is currently longest part of scene load