[vtkusers] vtkVolumeTextureMapper3D and offscreen rendering
Lisa Avila
lisa.avila at kitware.com
Wed Oct 19 12:44:43 EDT 2005
Mark,
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....
Lisa
At 02:15 PM 10/18/2005, Mark Wyszomierski wrote:
>I believe I ran into the a similar problem before, I wanted to
>save what was currently being rendered to screen to an
>image file using vtkWindowToimageFilter. This did not work
>with the 3d texture volume mapper, but it did for the rest of the
>volume renderers. I had to write some code to extract the pixel data
>left in the screen buffer, and this worked ok. Sorry I can't be
>more specific, this was about 2 months ago, but I posted a
>better explanation of what I did to the mailing list at that point,
>it should still be in the archives. Hopefully this can give you
>some ideas if the general problems are the same,
>
>Mark
>
>
>On 10/18/05, Lisa Avila
><<mailto:lisa.avila at kitware.com>lisa.avila at kitware.com> wrote:
>
>Hi Jesse,
>
>The offscreen context probably does not support the extension necessary to
>do the 3D texture mapping (this is typical). I am not sure if there is a
>way around it - hopefully drivers will support it in the future.
>
>Lisa
>
>
>
>At 04:29 PM 10/11/2005, Jesse Corrington wrote:
> >I just switched to using 3d texture mapping for volumes, and now i am
> >unable to do offscreen rendering, but the onscreen works very well. Is it
> >possible to have offscreen rendering using 3d texture mapping.
> >
> >_________________________________________________________________
> >Is your PC infected? Get a FREE online computer virus scan from McAfee®
> >Security.
> <http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
> >
> >_______________________________________________
> >This is the private VTK discussion list. Please keep messages on-topic.
> >Check the FAQ at:
> <http://www.vtk.org/Wiki/VTK_FAQ>http://www.vtk.org/Wiki/VTK_FAQ
> >Follow this link to subscribe/unsubscribe:
> ><http://www.vtk.org/mailman/listinfo/vtkusers>http://www.vtk.org/mailman/
> listinfo/vtkusers
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://www.vtk.org/Wiki/VTK_FAQ>http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
><http://www.vtk.org/mailman/listinfo/vtkusers>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
>http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051019/53bd651e/attachment.htm>
More information about the vtkusers
mailing list