I got a simple Mel Script that that i want to modify to link the Manual focus of the Maxwell camera to a included locator(included in the below script). Please have a look...can someone update that for me? could be useful for those using animation with DOF directly in rendering.
I got a bunch of mel, expressions and GUI to write for production, is anyone interested for some jobs?
Joined: Thu Oct 13, 2011 2:31 pm Posts: 56 Location: Montpellier, France
I use a "distanceBetween" node to have the distance between the focus_locator and the camera. Use the connection editor to link the wordMatrix of the cameraShape to the inMatrix1 and worldMatrix of the locator to the inMatrix2 param of the distanceBetween node.
In second time use this mel line to link the distanceBetween and the manual focus distance (Be sure that Maxwell manual focus is enable before) : connectAttr -f distanceBetween1.distance cameraShape.mxFocusDistance;
In fact I have done this once and I save ma camera rig in separate file to import each time I want.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum