[vtkusers] how to keep the texture fixed when modify the points and write

Cong Zhang winderzc at yahoo.com
Tue Jan 4 04:34:55 EST 2005


Hello all,
 
We're generating a .obj file with texture vertices (vt) in the .obj file. We want to load this data into VTK, do operations such as transformation and projection, then write out a new OBJ file with the new coordinates and fixed texture coordinates. I can do the load (vtkOBJReader) and display the model with texture, but can not get the texture coordinates and relate them to the loaded vetices, furthermore, the (vt) entries and the face indeices get lost and don't appear in the output file.

Does anybody have some suggestions?  Thanks in advance!
 
Best Regards,
chong



		
---------------------------------
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050104/e905a36c/attachment.htm>


More information about the vtkusers mailing list