I noticed that when MSAA is enabled, and you move or resize the viewer window, the eye images get corrupted. This seems to be the result of my changing the camera setRenderTargetImplementation to FRAME_BUFFER instead of FRAME_BUFFER_OBJECT, which has consequences for OSG's window move/resize handler. So, instead of bypassing normal OSG FBO camera setup in this way, I have added an initial camera draw callback, which disables the setup using the RenderStagecameraRequiresSetup flag that seems to be designed for this purpose.
I noticed that when MSAA is enabled, and you move or resize the viewer window, the eye images get corrupted. This seems to be the result of my changing the camera
setRenderTargetImplementation
to FRAME_BUFFER instead of FRAME_BUFFER_OBJECT, which has consequences for OSG's window move/resize handler. So, instead of bypassing normal OSG FBO camera setup in this way, I have added an initial camera draw callback, which disables the setup using theRenderStage
cameraRequiresSetup
flag that seems to be designed for this purpose.