[vtkusers] Problem with rendering Volume and Textured Plane

Niels Bakker n.h.bakker at amc.uva.nl
Thu Jul 18 03:48:46 EDT 2002


Hi Praveen,

To my knowledge I am not using openGL. For the volume I am using a
vtkVolumeRayCastMapper added to a vtkVolume. For the plane I'm using a
vtkPolyDataMapper and a vtkTexture added to a vtkActor. Both are attached to
the same vtkRenderer.

Its still a mistery to me.

Niels


(-:-) -----Original Message-----
(-:-) From: Praveen Bhaniramka [mailto:praveenb at gauri.engr.sgi.com]
(-:-) Sent: Tuesday, July 16, 2002 6:24 PM
(-:-) To: Niels Bakker
(-:-) Cc: vtkusers at public.kitware.com
(-:-) Subject: Re: [vtkusers] Problem with rendering Volume and
(-:-) Textured Plane
(-:-)
(-:-)
(-:-) Hi Niels,
(-:-)
(-:-) Not sure how you are rendering the volume (using the ray-caster or the
(-:-) texture mapper), but this seems to be an OpenGL state issue. Make sure
(-:-) that you have restored your OpenGL state (the state that you
(-:-) modified like
(-:-) blending functions, etc) after you render the volume data.
(-:-)
(-:-) Cheers,
(-:-) Praveen
(-:-)
(-:-) On Tue, 16 Jul 2002, Niels Bakker wrote:
(-:-)
(-:-) > Hi,
(-:-) >
(-:-) > I'm trying to render a volume and a textured plane. The
(-:-) texture on the plane
(-:-) > disappears after the first render and it is replaced by an
(-:-) image of the
(-:-) > rendered scene. If I don't add the volume to the renderer
(-:-) the textured plane
(-:-) > works fine.
(-:-) >
(-:-) > It seems to be the same problem as was already described
(-:-) earlier, but no
(-:-) > solution was given:
(-:-) >
(-:-) > http://public.kitware.com/pipermail/vtkusers/2002-March/010279.html
(-:-) >
(-:-) > Can anyone help?
(-:-) >
(-:-) > Niels
(-:-) >
(-:-) >
(-:-) >
(-:-) > N.H.Bakker PhD
(-:-) > Academic Medical Center
(-:-) > Dept. of Medical Physics
(-:-) > Meibergdreef 9
(-:-) > 1105 AZ Amsterdam
(-:-) >
(-:-) > Phone: (+31) 20-566 8978
(-:-) > Mail : n.h.bakker at amc.uva.nl
(-:-) >
(-:-) > _______________________________________________
(-:-) > This is the private VTK discussion list.
(-:-) > Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>

--
-----------------------------------------------------------------
Praveen Bhaniramka               Member of Technical Staff (MTS)
praveenb at sgi.com                 Advanced Graphics Division
(650)933-1785                    Silicon Graphics, Inc.
-----------------------------------------------------------------





More information about the vtkusers mailing list