I am still a beginner with optix and when learning about other structures, visualization often was crucial. Beyond that, when updating the scene, I would like to see whether the update was correctly performed on the acceleration structure as well, see e.g. https://devtalk.nvidia.com/default/topic/1057063/optix/animations-in-optix-6-previously-performed-using-selectors-/post/5361980/#5361980.
Thus, I would like to retrieve the acceleration structures from optix and visualize them. Is that possible?
I have been going back to forum entries of one year and could not find the information. For those interested, a few references:
From the forum
I see that the Acceleration getData and setData methods are getting depreciated. I’m trying to serialize an acceleration structure so I can save it / re-use it
The serialized data returned by rtAccelerationGetData is intended to be an opaque data blob. You would not be able to parse or deconstruct it
I’d like to ask if it is possible to access actual built BVH structures - we’re thinking about saving and loading these for our scenes and also visualize them
From the documentation
No information about getting the actual information from the acceleration structures, only about setting it.
opaque type to handle Acceleration Structures - Note that the *_api type should never be used directly