Hi, when I read through the tutorial in optix, I wish to experiment it with single buffering for some research issues(original code makes it double buffering).
It looks like simply change the code into glutInitDisplayMode(…GLUT_SINGLE) and change the function swapBuffer() into glFlush() doesn’t work. (The output still looks like it is double buffering since there are no flickers or tearing in the image.)
Does optix allow user to do it in single buffering? Or directly draw on the front buffer and display it instead of any buffer swapping? Or maybe I didn’t do something right yet to make single buffering work, would somebody please point out what need to be done? Thanks!