[vtkusers] Render an OBJ with texture

Bruno Oliveira bruno.manata.oliveira at gmail.com
Wed Feb 24 09:38:30 EST 2016


Hello,

I am using VTK 7.0 and I have an .OBJ file with a .mtl file definining
multiple textures.

I can render this with textures if I use a vtkOBJImporter and using
setTextureFilename().
However, I can't render textures if I use a vtkOBJReader: I see the object
but it is rendered as white only.


My problem is that I want to render multiple OBJ models, each one with
independent position and attitude in world coordinates, and for that I
think I need to use a vtkOBJReader. Or can I use a vtkOBJImporter?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160224/d2a55391/attachment.html>


More information about the vtkusers mailing list