Maxwell Render

Maxwell Render Information Repository
It is currently Fri May 24, 2013 1:03 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Feb 08, 2009 7:07 pm 

Joined: Wed Jul 30, 2008 6:02 pm
Posts: 328
I use a separate camera in Maya usually to tune materials (until we get region render - hint hint) and have to manually set the focus distance whenever I move the persp1 camera or my things will be out of focus. Maxwell inputs aren't available as driven key items so I'm wondering if there is a way to make this manual focus value update based on a locator's distance from the persp1 camera.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 08, 2009 7:17 pm 

Joined: Wed Jul 30, 2008 6:02 pm
Posts: 328
I just tried a Connection Editor link between a distance tool and the Maxwell camera settings but it didn't work:

Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 09, 2009 9:54 am 
User avatar

Joined: Wed Oct 18, 2006 8:20 am
Posts: 1825
Maxwell doesn't use the native "focusDistance" attribute, it has its own custom attribute called "mxFocusDistance". Try something like this instead:

Code:
connectAttr distanceDimensionShape1.distance cameraShape1.mxFocusDistance


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 09, 2009 6:20 pm 

Joined: Wed Jul 30, 2008 6:02 pm
Posts: 328
that did it - thanks so much.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group