You might want to try asking this questions on the 3D forum to get a better answer.
I'm pretty sure the (0,0) point on an object is defined in the modeling/conversion software. You have to be aware of this up front and modify the rotation matrix to take it into account, i.e. multiply the rotation matrix by the matrix that translates the object to be centered at (0,0), then multiply the result by the inverse of the translation matrix.
I'm pretty sure the (0,0) point on an object is defined in the modeling/conversion software. You have to be aware of this up front and modify the rotation matrix to take it into account, i.e. multiply the rotation matrix by the matrix that translates the object to be centered at (0,0), then multiply the result by the inverse of the translation matrix.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script