Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
Attached Link: http://www.flipcode.com/documents/matrfaq.html
See attached link.One thing you need to watch out for is that some software will interchange the rows and columns.
This can be got around by interchanging the indexes when necessary.
Best to determine which way what your using stores the values, before doing anything else. This is mentioned in the FAQ, but it's the biggest source of pain and frustration.
nruddock,
thank you, excellent resource, bookmarked.
Unfortunately printing the available tranformation matrix to the console, at various object locations and rotations, it would appear to be a rotation matrix.
E-on inform me that they will soon update Vue Python to expose current size/position information in a GetBoundingBox() function. I guess until that happens the only way to get a current location is to set initial (frame[0]) position in code, then track it from there.
John
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Hi all,
sorry if this is OT - I'm trying to work with Vue 5i Python, there is no specific
forum for that, and this place seems about as close as I can find anywhere to a
3D Graphics specific Python forum - so here goes:
While Vue Python returns an object's current rotations and scaling in easily understood
x,y,z tuples, translation information seems only to be available in the form of
a 3 x 3 transformation matrix. I'm assuming this data would be accessed like e.g.
first row is [0][0],[0][1],[0][2].
Whilst I remember doing matrices at school, that was 40+ years ago! So if some kind
person could either, explain how to extract the translation information or, point
me to a (preferably web based) 'Dummies Guide to Matrices', I would be very grateful.
John