[vtkusers] Texture

Christoph Bert c.bert at gsi.de
Sat Aug 28 13:19:56 EDT 2004


Hi,
can somebody help me with texture display. I have an OBJ file with
texture info, which I read in using vtkOBJReader. It result in
vtkPolyData and the texture information is stored in
vtkPolyData->GetPointData()->GetTCoords() The TCoords consist out of 2
Components. How can I use that information, meaning how do I tell
mapper/actor/renderer that it is there so that it finally shows up in
the render window?

Thanks in advance for any help!

Christoph




More information about the vtkusers mailing list