[vtkusers] Output texture vertices in OBJ files?

Tom Bridgman bridgman at wyeth.gsfc.nasa.gov
Tue Oct 21 16:24:51 EDT 2003


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/



More information about the vtkusers mailing list