[vtkusers] vtkVolumeTextureMapper3D and offscreen rendering

Jesús Spí­nola jspinola at gmail.com
Thu Oct 20 08:39:54 EDT 2005


You have to declare the 3D texture after creating the offcreen rendering
context. This is maybe the main problem, because I had it before using
pbuffers and 3D textures in openGL. So you have to create first the
offscreen rendering context and then you can create the 3D texture

2005/10/19, Mark Wyszomierski <markww at gmail.com>:
>
> HI Lisa,
>  I looked up what I had posted:
>   http://public.kitware.com/pipermail/vtkusers/2005-August/081366.html
>  you're right, it had nothing to do with the window to image filter, but
> something with
> capturing an offscreen rendering context for a print operation. It was so
> long ago,
> maybe this is more related to what you're trying to do though anyways
> Jesse,
>  Mark
>
>  On 10/19/05, Lisa Avila <lisa.avila at kitware.com> wrote:
> >
> > 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* <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(r)
> > >Security. 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
> > >Follow this link to subscribe/unsubscribe:
> > > 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
> >
> >
> > _______________________________________________
> > 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
> >
> >
>
> _______________________________________________
> 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/20051020/4d69ee05/attachment.htm>


More information about the vtkusers mailing list