View Full Version : 3DSMax rotation export problems

01-03-2003, 05:40 AM
Hi, I'm a novice intro coder and i'm developing a 3DStudio MAX primitive
geometry exporter. I don't need the vertices or faces info, only which type
of geometry I'm reading (box,sphere,cone...) and the parameters to recreate it
in my engine (Height,width,num.segments). Now I take all this one and it's ok
but, for example, when I create a cone in MAX if I use the front/top/right window
the cone appears rotate according with different angles. So I extract the
quaternion of this object, and the position. And then in my engine I make
the translation and get rotation matrix from the quaternion and mult by
the actual object matrix. But it not look good http://www.opengl.org/discussion_boards/ubb/frown.gif And I don't know if I must
make something special with the quat that I read from MAX. Can anyone help me?