<div> a block of tcl code. </div>
<div> </div>
<div> vtkWindowToImageFilter w2i<br> w2i SetInput renWin <br> vtkJPEGWriter w</div>
<div> w2i Modified<br> w SetInput [w2i GetOutput]<br> w SetFileName $name<br> w Write<br> </div>
<div>no mesa. it works fine even with vtk 4.2<br> </div>
<div><span class="gmail_quote">On 8/4/06, <b class="gmail_sendername">Vivek Dwivedi</b> <<a href="mailto:vivekd@mail630.gsfc.nasa.gov">vivekd@mail630.gsfc.nasa.gov</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I saw the code but I don't want to use MESA is there a way within VTK<br>itself ?<br><br>-Vivek<br><br><br>
On Aug 4, 2006, at 9:18 AM, N. Yang wrote:<br><br>> In that case you might want off-screen rendering and you can refer to<br>><br>> <a href="http://www.erdc.hpc.mil/documentation/Tips_Tricks/vtk">http://www.erdc.hpc.mil/documentation/Tips_Tricks/vtk
</a><br>><br>> ----- Original Message -----<br>> From: Vivek Dwivedi <<a href="mailto:vivekd@mail630.gsfc.nasa.gov">vivekd@mail630.gsfc.nasa.gov</a>><br>> Date: Friday, August 4, 2006 2:48 pm<br>> Subject: [vtkusers] Saving JPEG
<br>><br>>> Hi all:<br>>><br>>> Quick question is it necessary to render out an image in a render<br>>> window in order to save it as an image file or can we directly save<br>>><br>>> the image without rendering it out?
<br>>><br>>><br>>> -Thanks<br>>><br>>> -Vivek<br>>><br>>><br>>> _______________________________________________<br>>> This is the private VTK discussion list.<br>>> Please keep messages on-topic. Check the FAQ at:
<br>>> <a href="http://www.vtk.org/Wiki/VTK_FAQFollow">http://www.vtk.org/Wiki/VTK_FAQFollow</a> this link to<br>>> subscribe/unsubscribe:<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br>>><br><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>