[vtkusers] vtkRenderer goes dark on zoom

John Eke tonee47 at yahoo.com
Fri Aug 21 11:30:09 EDT 2009


I found a solution! I made the renderer in front non interactive, and it seems to work fine now. I simply did:

renderer->InteractiveOff()




________________________________
From: John Eke <tonee47 at yahoo.com>
To: vtkusers at vtk.org
Sent: Thursday, August 20, 2009 6:30:54 PM
Subject: [vtkusers] vtkRenderer goes dark on zoom


Hi Guys,

I have 2 renderers layered one over top of the other. The renderer behind holds a bunch of images, and the renderer in front acts as a drawing plane where a user can draw over the image.

Problem is, both renderers come up fine. But once I zoom in, everything goes dark. However, once I draw somthing on the front renderer, THEN zoom... everything seems happy. So it appears vtk didnt like the fact that the top renderer was empty.

Does anyone have any experience with this? Please help.

Thanks

John E


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090821/3cf98853/attachment.htm>


More information about the vtkusers mailing list