Bug in vtkCocoaRenderWindow off-screen rendering implementation causes image corruption in the framebuffer
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Hi, There is a bug in the vtk-5.3.x implementation for vtkCocoaRenderWindow when performing OpenGL off-screen rendering tasks using OpenGL framebuffer objects. The images captured from the vtkCocoaRenderWindow in off-screen mode is incorrect. This problem does not arise when using Carbon for performing off-screen rendering. The images get correctly displayed in Carbon, but it is torn in Cocoa.
The attached image show the discrepancy. The right hand window is the window which renders what ever it could capture from the off-screen buffer. The window on the left show the unwanted vtkCocoaRenderWindow, that is performing off-screen rendering.
This is an additional bug, the vtkCocoaRenderWindow should not be displayed when performing off-screen rendering.
Best regards,
Elvis Dowson