Camera Maya Focus ?

Forums: Camera Maya Focus ?
A forum for discussion, development and support, including subforums for discussion for various plugins for octane render and 3d the relevant animation packages

Camera Maya Focus ?

Postby oshosamiry » Mon Jul 16, 2012 9:52 am

oshosamiry Mon Jul 16, 2012 9:52 am
Hi .
How can we set a camera in maya so it focus on a specific object in octane render and don't be distracted with the object's movement or its cameras ?
There is no script ?
Please write your scripts for download ?

Image
http://ndi.site88.net/photos/0a32110fff0f.jpg
Image
http://ndi.site88.net/photos/44defa9fddff.jpg
oshosamiry
Licensed Customer
Licensed Customer
 
Posts: 23
Joined: Mon Oct 17, 2011 7:42 pm

Re: Camera Maya Focus ?

Postby tchoa » Tue Jul 17, 2012 3:03 pm

tchoa Tue Jul 17, 2012 3:03 pm
You can simply use a distanceBetween node and a geometryConstraint.
Create a distanceBetween node and a locator.
Connect the center attribute of your camera to the first point of the distanceBetween.
Connect the center attribute of the locator to the other point attribute of the distanceBetween.
Connect the distance result of the distanceBetween to the focusDistance of the camera.
Then if you want to change the point in focus of the surface you want in focus you can use a geometryConstraint on the surface for the locator.
If you're using the octane for maya plugin then simply connect the distance result to the octFocalDepth attribute.
Win XP x64 | Q6600 2.40GHz | 8Go | GTX470 1.28Go // Win 7 x64 | I7 Q740 1.73Ghz | 6Go | GTX460m 1.5Go
tchoa
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Thu Jul 01, 2010 12:33 pm
Location: Montpellier

Re: Camera Maya Focus ?

Postby RickToxik » Sat Sep 08, 2012 7:18 pm

RickToxik Sat Sep 08, 2012 7:18 pm
Here's a script to control the focus distance easily in maya:

viewtopic.php?f=28&t=23455
RickToxik
Licensed Customer
Licensed Customer
 
Posts: 140
Joined: Fri Jan 13, 2012 9:22 pm
Location: Canada

Return to Plugin Discussion/Support


Who is online

Users browsing this forum: No registered users and 52 guests

Sat Apr 27, 2024 11:33 am [ UTC ]