<html>
<body>
Mark,<br><br>
vtkWindowToImageFilter is not offscreen rendering so this is not the same
problem unless the render window you were using was offscreen. I am not
sure why you should have a problem with vtkWindowToImageFilter - you may
need to change whether you read from the front or back buffer depending
on your exact rendering parameters (and perhaps even your graphics
driver) but it should work....<br><br>
Lisa<br><br>
<br>
At 02:15 PM 10/18/2005, Mark Wyszomierski wrote:<br>
<blockquote type=cite class=cite cite="">I believe I ran into the a
similar problem before, I wanted to<br>
save what was currently being rendered to screen to an<br>
image file using vtkWindowToimageFilter. This did not work <br>
with the 3d texture volume mapper, but it did for the rest of the<br>
volume renderers. I had to write some code to extract the pixel data<br>
left in the screen buffer, and this worked ok. Sorry I can't be <br>
more specific, this was about 2 months ago, but I posted a <br>
better explanation of what I did to the mailing list at that point, <br>
it should still be in the archives. Hopefully this can give you <br>
some ideas if the general problems are the same,<br>
&nbsp;<br>
Mark<br><br>
&nbsp;<br>
On 10/18/05, <b>Lisa Avila</b>
&lt;<a href="mailto:lisa.avila@kitware.com">lisa.avila@kitware.com</a>
&gt; wrote: <br>

<dl><br>

<dd>Hi Jesse,<br><br>

<dd>The offscreen context probably does not support the extension
necessary to<br>

<dd>do the 3D texture mapping (this is typical). I am not sure if there
is a <br>

<dd>way around it - hopefully drivers will support it in the
future.<br><br>

<dd>Lisa<br><br>
<br><br>

<dd>At 04:29 PM 10/11/2005, Jesse Corrington wrote:<br>

<dd>&gt;I just switched to using 3d texture mapping for volumes, and now
i am<br>

<dd>&gt;unable to do offscreen rendering, but the onscreen works very
well.&nbsp; Is it<br>

<dd>&gt;possible to have offscreen rendering using 3d texture
mapping.<br>

<dd>&gt;<br>

<dd>&gt;_________________________________________________________________
<br>

<dd>&gt;Is your PC infected? Get a FREE online computer virus scan from
McAfeeŽ<br>

<dd>&gt;Security.
<a href="http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963">
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 </a><br>

<dd>&gt;<br>

<dd>&gt;_______________________________________________<br>

<dd>&gt;This is the private VTK discussion list. Please keep messages
on-topic.<br>

<dd>&gt;Check the FAQ at:
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>

<dd>&gt;Follow this link to subscribe/unsubscribe:<br>

<dd>&gt;<a href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br>
<br>

<dd>_______________________________________________ <br>

<dd>This is the private VTK discussion list.<br>

<dd>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>

<dd>Follow this link to subscribe/unsubscribe:<br>

<dd><a href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br>

</dl><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" eudora="autourl">
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" eudora="autourl">
http://www.vtk.org/mailman/listinfo/vtkusers</a></blockquote></body>
</html>