[Maya-Python] Maya scene unit conversion

2015-04-27 Thread Mark Jackson
So we have a carefully setup facial control board setup in cm's but needs to run it in a client scene set in meters, no problem right? Unfortunately because all the sliders are carefully setup with limits on the transforms of 0-1 when the scene comes into Maya in meters, all those transforms are re

Re: [Maya-Python] Maya scene unit conversion

2015-04-28 Thread Marcus Ottosson
How about using the rig in a scene set to cm, and post-compensate scale globally either during or after export? If the rig must be used in a scene with an environment, would it be possible to scale the environment to compensate during animation? I've had good experiences with controlled compensa

Re: [Maya-Python] Maya scene unit conversion

2015-04-29 Thread Mark Jackson
We ended up writing conversion code that goes through the current facial rig and adds in scale nodes above the controllers to allow the translate 0-1 range to be correct, but then you have to unplug and re-plug all the hooks to the resulting nodes to force Maya to generate the unitConversion nodes.