I have a problem when work with D3D11 interop in that situation:
Rendering on D3D only (dont call optix launch)
- Add geometry, material, accel etc and bind to a topgroup
- Remove this geometry from topgroup (removechild)
Remember, I dont call optix launch, only D3D calls, but execute all operations in OptiX structs, Add geometry, material, accel etc. In theory all structs and graphs of OptiX are OK.
When I change the rendering mode to OptiX, the optix launch are invoked and cause memory violation.
But, if I execute exactly same proccess calling the launch everyframe all works fine. Why?
I have a lot of time about this and dont have success.