[vtkusers] Offscreen and onscreen rendering outputs don't match
Kevin H. Hobbs
kevin.hobbs.1 at ohiou.edu
Fri May 19 10:42:26 EDT 2006
On Thu, 2006-05-18 at 22:40 -0400, Viksit Gaur wrote:
> Hi all
>
> a) I'm using a vtkWindowToImageFilter object to write the current
> rendered output from a render window of type vtkTkRenderWidget. I seem
> to get all the code right, except that when rendering an animation, only
> the first frame gets written.
This is specifically mentioned in the documentation.
http://www.vtk.org/doc/nightly/html/classvtkWindowToImageFilter.html
The short answer is: "To force an update of the output image, call
vtkWindowToImageFilter's Modified method after rendering to the window."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060519/4ccefc48/attachment.pgp>
More information about the vtkusers
mailing list