Advertisement Jump to content
Sign in to follow this  
quasar3d

Maya coordinates?

This topic is 4993 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Maya is driving me nuts. I am writing an exporter plugin. According to the documentation maya uses centimeters for all it's units, and most of the time, this seems to be the case. But on some objects, it suddenly seems to be using meters, and so my object comes out 100 times smaller than it is in maya. Does anyone know what I could be doing wrong?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Maya has two unit systems:

- Internal units, always centimeters
- UI units, selected by user (mm, cm, m, etc.)

For exporting this scale should be used for all geometry data:

unitScale = 1.0f/(float)MDistance::uiToInternal(1.0);


For more information see the API reference of the MDistance class


BTW: MEL Stuff is always in UI Units Mode

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!