Increasing scene scale by editing .ma file

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 07 July 2012   #1
Increasing scene scale by editing .ma file

AfterEffects can import .ma files to bring in nulls, cameras, lights, and animation. But the problem is that one Maya unit (no matter what that unit is) equals one pixel in After Effects.

As you can imagine, projects import at microscopic sizes. And I have to jump through some hoops to scale it up in AE.

Is there any easy-peezy way to scale a whole scene using a text editor on a .ma file?
----end of line
Old 07 July 2012   #2
There really isnt a way to edit a .ma file to scale a whole scene since you want all your objects to be scaled from one pivot point.

You can group all your objects. Scale the group. Freeze Scale Transforms.

Hope this helps
Old 07 July 2012   #3
We experiance this issue as well. The workaround we use is applied in After Effects. By applying an expression on the scenes camera you increase or decrease the distance between moves. Here is a quick run through:

Try this:

1) find your scenes camera in after effects that was brought in with the MA file

2) twirl down to the cameras "position" animation and ALT click on the stopwatch to apply a expression to that attribute

3) insert this expression "transform.position*200" you can increase or decrease the value as it suits the scene.
Make 'waves!
Old 07 July 2012   #4
What about lights and nulls (Maya locators)? Will that expression work for them too?
----end of line
Old 07 July 2012   #5
Originally Posted by Navstar: What about lights and nulls (Maya locators)? Will that expression work for them too?

In a manner of speaking yes, you aren't actually scaling them but by dynamically changing the camera values. you are moving the camera further away from the objects making them smaller and the scene more manageable (i.e. something 1 unit away from the camera would now be 200 units away). Most commonly for us, tracks out of synthEyes were out of wack and this process allowed us to get the hundreds of nulls it spat out to a manageable scale.

hope that helps
Make 'waves!
Old 07 July 2012   #6
set your maya project to use meters as units before exporting, i just use in realworld scale and maya CMs and havent had issues with scale.
From Russia, with love @
Old 07 July 2012   #7
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 01:47 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.