I have the same problem, though it seems to be specific to OSX. On Win32, the behavior is as expected and the window doesn't show. <br><br>The Mac implementation of vtkRenderWindow creates the window before checking Offscreen flag. If I understand the code (Objective C, which I don't master), the window is created, then its properties are changed to do offscreen rendering, so you get a dead window in the middle of the screen. What is worst is that the window that is originally created stays on screen even after deleting the vtkRenderWindow instance.<br>
<br>s.<br><br><div class="gmail_quote">On Wed, May 20, 2009 at 5:03 AM, ABE Hiroshi <span dir="ltr"><<a href="mailto:habe36@gmail.com">habe36@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear All,<br>
<br>
I am working with an application with several VTK windows.<br>
<br>
Only single VTK window is visible and the others are hidden. But it is necessary to render the hidden windows because the rendered images of the hidden windows are needed to be stored as images.<br>
<br>
So I put the "OffScreenRenderingOn" to the hidden "vtkRenderWindow"s.<br>
<br>
Actually the images are properly generated as expected.<br>
My problem is that unexpected blank windows are pop-up-ed. I believe the blank window is popup-ed when the hidden renderwindow is "Render"ed.<br>
<br>
Is there any way not to generate the blank window?<br>
<br>
My Env. is:<br>
<br>
PowerMac MDD 867MHz,<br>
MacOS X 10.4.11<br>
ATI Radeon 9600 256MB<br>
VTK 5.4<br>
<br>
Thank you in advance.<br>
<br>
Regards,<br>
<br>
ABE Hiroshi<br>
from Tokorozawa, JAPAN<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>