I need to access the current absolute world orientation and position of a node of the OptiX scene graph outside of an OptiX proram but within a CUDA kernel.
Is there any other way than to calculate the transformation matrix myself (e.g. on host side) and store this information separate from OptiX in an additional GPU buffer?
If this is currently my only choice, could this kind of OptiX-CUDA interop be added in a future release?
As far as I know Transform nodes’ internal matrices aren’t exposed/accessible directly (i.e. via a device pointer) mostly for consistency and performance reasons.
I agree that it would be nice to have such a feature, I’ll ping that to the developers.
In the meantime if someone else has another solution…