   Exporter Question
  When I export, 3ds max always shows some symmetrical information about the mesh.For exampleOn the far left = Point3(-10,10,...);On the far right = Point3(10,10...);On the top = Point3(0, 20, ...);On the bottom = Point3(0, -20,...);You understand the pattern?Then I google and guessing the cause of itI think the exporter is exporting object space coordinates rather than worldSo that I need to apply a transformation to it, so that I can get the correct x,y,z in the world space...Am I correct?ThanksJack   
Quote:Original post by lucky6969bI think the exporter is exporting object space coordinates rather than worldAssuming it's your own code, then the answer is probably yes. If it's a 3rd party exporter, there will probably be some matrix transform there somewhere.Quote:Original post by lucky6969bSo that I need to apply a transformation to it, so that I can get the correct x,y,z in the world space...Get the world space matrix from INode::GetNodeTM(). There is also an object offset matrix you'll need to apply - see the docs for INode::GetObjOffsetPos(), INode::GetObjOffsetRot() and INode::GetObjOffsetScale(). You'll then need to concat those matrices together, and use the PointTransform and VectorTransform matrix funcs to get the world space co-oords.   