[Closed] Max SDK: Transforming a Mesh
Note: First time working with Max SDK, so assume I’m an idiot.
I’m working on an exporter with the Max 9 SDK. When exporting a mesh, I want the vertex positions relative to the pivot point, i.e. transformed by the object offset transformation. I can get the transform via the GetObjOffset*() methods (and create a matrix from these). Then I can get the Mesh from the TriObject, and transform each vertex position and normal manually.
Just wondering if there’s a simpler way to do this. How do get a copy of a mesh, and transform the whole thing?
you can try Data exchange inteface for export mesh data. Open 3dsmax SDK help and then search with this “Programming with 3DXI”. Select the first search item, please read that page you will get your answer.