SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 18-02-2007, 05:26 AM   #1
Mayastatic
Subscriber
 
Mayastatic's Avatar
 
Join Date: Jul 2006
Location: germany
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default Camera Focus

I have two objects, one next to the camera and the other one a little bit away!
I want show the relation between the two objects and for that I
want switch the sharpness of the camera between the objects.

First is the Focus on the nearer object and then slides the sharpness of the camera to the farer object!

Where is the option for that?
I canīt find it in the Camera Attributes!?!
Thanks!!!

Last edited by Mayastatic : 18-02-2007 at 05:28 AM.
Mayastatic is offline   Reply With Quote
Old 18-02-2007, 02:54 PM   #2
publicFunction
Senior Software Developer
 
publicFunction's Avatar
 
Join Date: Jan 2005
Location: Livingston, Scotland
Posts: 1,701
Thanks: 1
Thanked 23 Times in 23 Posts
Default

What you are looking for is called Depth of Field, this is done by changing the correct attribute.

Here is one way:
http://www.jozvex.com/tutorials/dof.html

And I think if you change the focal lenth of your camera then it gies the right effect. This is an extract for CGTalk about this subject:

"... create a distance mesaure tool. parent one locator to the camera and one to an object which lies in the center of your focus.

then via the connection editor, connect the distance from the distanceShape to the focus distance of your cam... "

Hope it helps.
__________________
Chris (formerly R@nSiD)
Twitter
When the power of love overcomes the love of power the world will truely know peace - Jimmy Hendrix
Winner SM VFX Challenge 1
3rd Place SM SteamPunk Challenge (May 2007)
publicFunction is offline   Reply With Quote
Old 18-02-2007, 03:41 PM   #3
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

A really really easy way to do it is to create a camera then in the hypershade middle clock the camera that you've created and plug the center of interest into the Fstop.

Then if you select the camera in the viewport and press T the center of interest is shown, move it to your object and render, adjusting the focus distance to suit how "tight" you want the focus. Thats how I do it anyway.
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 19-02-2007, 07:10 PM   #4
darachdarach
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can i see if models are in focus or not without a render?
darachdarach is offline   Reply With Quote
Old 19-02-2007, 07:38 PM   #5
publicFunction
Senior Software Developer
 
publicFunction's Avatar
 
Join Date: Jan 2005
Location: Livingston, Scotland
Posts: 1,701
Thanks: 1
Thanked 23 Times in 23 Posts
Default

No, will need to conduct multiple render tests to get the look you want.
__________________
Chris (formerly R@nSiD)
Twitter
When the power of love overcomes the love of power the world will truely know peace - Jimmy Hendrix
Winner SM VFX Challenge 1
3rd Place SM SteamPunk Challenge (May 2007)
publicFunction is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.