I’m writing an interactive renderer that updates the mesh geometry every frame (i.e. the vertice position and possibly connectivity change). I find that context->launch takes 600+ms every time after I change the scene and takes only 15ms afterward.
My guess is that after each change OptiX may recompile the magekernel which takes time. However, I’m not sure about this. The geometry is typically quite simple (50K tri faces) and I just want a 24FPS rendering of a “geometry sequence”.
I couldn’t find such an example that demonstrates how this can be achieved. Is there any way to avoid the long launch time?
Thanks in advance.