[vtkusers] on & offscreen render windows

tom fogal tfogal at apollo.sr.unh.edu
Wed Sep 29 21:00:22 EDT 2004


 <5.0.0.25.2.20040929161141.0286f220 at mail.llnl.gov>Michael Bonner writes:
>Hello vtk users,
>
>I am trying to use two vtkRenderWindows w/ two vtkRenderes in a single 
>application. One of the render windows is offscreen, the other is not.  I 
>would like to use the on screen render window for interaction, but, when a 
>mouse key release event happens I would like the offscreen window to 
>render.  I have included a small application that produces my problem. When 

I assume the offscreen window is getting saved to a file?

Why not just use one vtkRenderer and use vtkWindowToImageFilter when
the mouse key release happens? Its likely that the simplicity of that
implementation would fix the weird bug you're seeing...

Sorry if I'm misunderstanding...

-tom

<snip>



More information about the vtkusers mailing list