Is there some way to create my own acceleration structure?
If you want to write your own traversal as well in CUDA, you can certainly create your own acceleration structure in CUDA.
To take advantage of RTX hardware and/or the built-in OptiX traversal methods, currently the only way is to use the OptiX API to build your acceleration structure.
–
David.