Re: [Maya2osg-users] Matrix exported does not obey units set in Maya
Status: Alpha
Brought to you by:
jtaibo
From: PP CG <pp...@cg...> - 2011-10-22 15:01:55
|
Hi Guys, I applied your patch j-S, but changed it a little. According to me the default unit should stay cm, as in Maya. Seems to work, but I don't have any real world testcase. Please test :-) Cheers, PP > 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 |