Hello,
When i try to use m_context->compile() i get the error RT_ERROR_INVALID_CONTEXT.
I call this function in my function to initialize the scene. My code before calling compile looks like this
// Create OptiX context
..
// Create Output buffer
..
// Camera ray gen and exception program
..
// more programs
..
// create various buffer
..
//getting ready to run
g_OptixContext->validate();// no error here
g_OptixContext->compile();
So my general question is, why this error can occur.
Thanks for your help