[vtkusers] Output texture vertices in OBJ files?

Berk Geveci berk.geveci at kitware.com
Tue Oct 21 17:02:50 EDT 2003


I am not really familiar with the OBJ exporter but it looks like it
supports writing texture coordinates. Are you sure that the
input to the exporter has texture coords? It is possible that
one of the intermediate filters is not passing/generating texture
coords.

-Berk

On Tue, 2003-10-21 at 16:24, Tom Bridgman wrote:
> We're generating some .obj files with texture vertices (vt) entries in
> the .obj file.  
> 
> We want to load this data into VTK, decimate & smooth, then write out a
> new OBJ file with the new texture vertices.  I can do the load,
> decimate, smooth and write, but the (vt) entries seem to get lost and
> don't appear in the output file.
> 
> I found a posting from two years ago (2001-june) suggesting that
> vtkOBJReader does read in the texture coordinates but they don't seem to
> be preserved in vtkOBJExporter.
> 
> How to I send these values to the output file?  I don't see an (obvious)
> flag for this option in the docs for vtkOBJReader or vtkOBJExporter.
> 
> Suggestions?  Options?
> 
> Thanks,
> Tom
> --
> Dr. William T."Tom" Bridgman           Scientific Visualization Studio
> Global Science & Technology, Inc.      NASA/Goddard Space Flight Center
> Email: bridgman at wyeth.gsfc.nasa.gov    Code 935
> Phone: 301-286-1346                    Greenbelt, MD 20771
> FAX:   TBD                             http://svs.gsfc.nasa.gov/
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list