Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 18-02-2007, 06: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 06:28 AM.
Mayastatic is offline   Reply With Quote
Old 18-02-2007, 03: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, 04: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, 08: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, 08: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

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.