Textures corrupting my 2DActors

Ralf Ratering ralf.ratering at gmd.de
Tue Apr 11 09:30:24 EDT 2000


Dear Bill,
I think the method

void vtkWin32OpenGLTextMapper::RenderOpaqueGeometry(vtkViewport* viewport,
vtkActor2D* actor)

might need a glDisable(GL_TEXTURE_2D) as well,

Ralf

> Robert,
>          I found the problem. Textures need to be disabled in the
> PolyDataMapper2D. I just added a
> glDisable(GL_TEXTURE_2D);
> in
> vtkOpenGLPolyDataMapper2D::RenderOpaqueGeometry
>
> Checked it in tonight. Added your bug example as a regression test.
>
> Thanks for the explicit report and test case,
>
> Bill
>

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list