Hi all!
I’d like to retrieve all texture coordinate “channels” from my Mesh objects using MaxPlus but I’m not sure how to do that.
For instance, imagine I’ve got already a mesh:
obj_state = node.EvalWorldState()
obj = obj_state.Getobj()
triobj = obj.AsTriObject()
tri_mesh = triobj.GetMesh()
The GetMeshmethod gives an instance of Mesh, and all the listed methods are here but I don’t see which ones would be the relevants to acomplish the task.
To retrieve the positions and normals I’m using GetVertex and GetRenderedVertexNormal respectively and now I’d also like to know how to retrieve the UV sets.
Anyone? Thanks in advance 