
Hi, maybe you don't set all of the texture coordinates. So you might be writing some values to the obj which have not been initialized. Try iterating over all vertices and set them to zero and check if you still get inf in the obj. Regards, Jan Möbius On 27/02/2021 17:37, Vladimir Privalov wrote:
Hi. I have problem with UV texture coordinates of vertices stored in obj file after writing mesh to obj file. I set UV coordinates for a vertex using method set_texcoord2D(). When explore the resultant obj file I see some inf values in 'vt' lines of the file. The UV values I set from code have no inf values. What could be the problem?
Thanks, Vladimir Privalov
_______________________________________________ OpenMesh mailing list -- openmesh@lists.rwth-aachen.de To unsubscribe send an email to openmesh-leave@lists.rwth-aachen.de https://lists.rwth-aachen.de/postorius/lists/openmesh.lists.rwth-aachen.de
-- Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany Phone ++49 (0)241 80-21802 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de http://www.rwth-graphics.de