I’m having a problem trying to export from blender
I can get the model to export fine but when it comes to the vu coords
things get wierd
as far as i can tell the Uv coords for Panda3d are per vertex, which i
can access through the sticky option in blender
this is what i have…
How do i magically take the “uv coords”
from the face definition and pack it into the vert definition?
"""
for vert in mesh.verts:
"""
this "would" seem ideal because I have the right # of vertices to store
"""
vertex_uv = vert.uvco
file.write("VERTEX_UV %f %f" % vertex_uv[0]...)
"""
so instead
"""
for face in mesh.faces:
"""
but i cannot pack the value returned from this under the verticies
with out going over the actual #of verts
"""
face_uv = face.uv
file.write("VERTEX_UV %f %f" % face_uv[0]...)