Original Post
I''ve got a "Plane" object defined as part of a 3DSMax file. I need to get the world coordinates of its four vertices in my program. How do I do this? I''ve got the object''s name, and I can get the correct segment.
Here''s what I''ve deduced (probably incorrectly) so far:
segment->pos_keys->pos_info is the center point of the face, but if I rotate the face in MAX, I seem to get the center point of a large bounding box for the face.
rot_keys.rot_info.vector is a vector pointing in the direction of the face (just a guess here).
localtoworld[0] = cos(theta)
localtoworld[1] = sin(theta)
vertex_list.x = width
vertex_list.z = height
Is any of this correct?
I''d suggest instead of more "tutorials", you spend time commenting your headers.
Thanks,
Dave