Hi,
I’m working on a project, where the positions of objects in the OptiX scene get updated by a function in a certain interval. Unfortunately the update gets stucked when the display loop starts with GLUTDisplay::run() because the main thread locks into the display loop. I searched for a possibility to unlock the main thread using e.g. freeglut, but that doesn’t helped, because it would terminate my window, if I exit the display loop.
Is it possible to move the GLUT Display Loop into a separate thread, so that the main thread doesn’t get locked and the update function can get called in my desired interval? I also found out that one can use the glutdisplay idle function to retrieve data from outside. Is it possible to edit the idle function in GLUTDisplay.cpp to do that?
Greetings
Michael