[Maya2osg-users] Matrix exported does not obey units set in Maya
Status: Alpha
Brought to you by:
jtaibo
From: Jean-Sébastien G. <jea...@cm...> - 2011-06-27 19:58:47
|
Hello all, Maya is initially set to treat its units as centimeters (I don't know why), and here we always set it to meters in Window - Settings/Preferences - Preferences. However, when I export a file with Maya2osg, the exported file's transforms seem to have gone back to centimeters (or something). I have a transform which I've moved to (0 0.7 0), and it's exported as a matrix with a translation of (0 70 0). I guess when exporting we would need to get the current units setup from Maya and make sure we export in those units everywhere... But I'm surprised no one has run into this before. Any suggestions? J-S -- ______________________________________________________ Jean-Sebastien Guay jea...@cm... http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ |