[vtkusers] dumping png images from the offscreen renderer- python

Zaher Abdul Azeez zaherabdulazeez at gmail.com
Sat Apr 16 09:51:34 EDT 2016


I want rapid dumping of images from the off-screen renderer with camera
style interaction.
The way I plan to do it is :
1. set up an offscreen render window
2. renWin.Render()
3. define a function that can be called with an angle to change the camera
angles for camera style interaction . For this I need to
Intantiate vtkWindowToImageFilter and vtkPNGWriter every time I call the
function.
Otherwise the dumped images dont change as I call the function with
different angles. this is not fast and robust, I guess

What is the right way to do this. Is it possible to do something with
vtkRenderWindowInteractor on the offscreen render window.
Ingeneral how can we interact with the off-screen render window.

Any help on this will be greatly acknowledged

Regards
Zaher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160416/1b8806c3/attachment.html>


More information about the vtkusers mailing list