SimplyMaya Forums

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

Home / forum / SimplyMaya Tutorials / Free Fridays / Free Friday Tutorial #12 Easy Depth of Field in Maya (DOF)
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 30-04-2012, 11:48 PM   #1
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,028
Thanks: 49
Thanked 389 Times in 304 Posts
Default Free Friday Tutorial #12 Easy Depth of Field in Maya (DOF)

In this tutorial we create a simple camera rig to give you an easy visual way to control DOF in Maya.

Easy Depth of Field in Maya (DOF) - YouTube

Njoy
Dave
__________________
Worst Response To A Crisis:
From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
David is offline   Reply With Quote
The Following 6 Users Say Thank You to David For This Useful Post:
BeAstMaSter (12-05-2012), bullet1968 (11-04-2013), capnmich (31-08-2012), cgisoul (20-03-2013), Shai Delacroix (22-07-2012)
Old 01-05-2012, 01:18 AM   #2
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,373
Thanks: 74
Thanked 710 Times in 642 Posts
Default

Friday already! That was a quick week.
Great little tut. Very cool. I wonder about creating two stacked planes to simulate the actual width "in focus" region (DOF), but I guess that could get tricky because that also depends on cam distance from object.
stwert is offline   Reply With Quote
The Following User Says Thank You to stwert For This Useful Post:
Old 01-05-2012, 01:29 AM   #3
bullet1968
Lifetime Member
 
bullet1968's Avatar
 
Join Date: Feb 2010
Location: Australia
Posts: 4,255
Thanks: 158
Thanked 651 Times in 621 Posts
Default

This looks interesting David....will have a go later on.

cheers bullet
__________________
bullet1968

"A Darkness at Sethanon", a book I aspire to model some of the charcters and scenes
bullet1968 is offline   Reply With Quote
The Following User Says Thank You to bullet1968 For This Useful Post:
Old 01-05-2012, 01:45 AM   #4
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,028
Thanks: 49
Thanked 389 Times in 304 Posts
Default

Quote:
Originally Posted by stwert View Post
Friday already! That was a quick week.
Great little tut. Very cool. I wonder about creating two stacked planes to simulate the actual width "in focus" region (DOF), but I guess that could get tricky because that also depends on cam distance from object.
Here is a scene file that will do about that with physical_lens_dof in MR

Same setup as before but with 2 planes the closer they get together the shallower the depth of field. Second plane controls in focus region first one focus depth.

Just took two small expressions and it's far from perfect, just a quick 2 mins to see if it was in any way feasible. If you want to play with it and fix the parenting and what not please do.

But here it is if you want to take a look at a version that will work with MR

Dave
__________________
Worst Response To A Crisis:
From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
David is offline   Reply With Quote
The Following User Says Thank You to David For This Useful Post:
Old 01-05-2012, 01:50 AM   #5
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,028
Thanks: 49
Thanked 389 Times in 304 Posts
Default

http://dl.dropbox.com/u/11468835/dof_version_2.ma

Link would help, btw that one only comes with the 'it works for me guarantee'

Dave
__________________
Worst Response To A Crisis:
From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
David is offline   Reply With Quote
The Following User Says Thank You to David For This Useful Post:
Old 01-05-2012, 11:21 AM   #6
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
Thanks: 101
Thanked 952 Times in 879 Posts
Default

Nice little tut thanks Dave..................dave
__________________


Avatar Challenge Winner 2010
daverave is offline   Reply With Quote
The Following User Says Thank You to daverave For This Useful Post:
Old 04-08-2012, 10:03 PM   #7
elizabeth_NZ
Registered User
 
Join Date: Mar 2011
Posts: 4
Thanks: 2
Thanked 2 Times in 2 Posts
Default depth of field

thanks Dave, great tutorial!
elizabeth_NZ is offline   Reply With Quote
The Following User Says Thank You to elizabeth_NZ For This Useful Post:
Old 26-02-2013, 06:10 AM   #8
LostBobaFett
Registered User
 
LostBobaFett's Avatar
 
Join Date: Aug 2004
Location: Minneapolis
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default focus distance issue

When I drag and drop the distance icon intot eh focus distance slot, the focus changes automotically to one, not to the distance between the two distance points(which is ten units)...
__________________
www.starwars.com
LostBobaFett is offline   Reply With Quote
The Following User Says Thank You to LostBobaFett For This Useful Post:
Old 12-03-2013, 02:14 PM   #9
Skalman
Registered User
 
Skalman's Avatar
 
Join Date: Apr 2012
Posts: 293
Thanks: 29
Thanked 53 Times in 51 Posts
Default

This is so much more simple in cinema 4d
But that was a nice tutorial
Skalman is offline   Reply With Quote
The Following User Says Thank You to Skalman For This Useful Post:
Old 12-03-2013, 02:19 PM   #10
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,028
Thanks: 49
Thanked 389 Times in 304 Posts
Default

simple != good
__________________
Worst Response To A Crisis:
From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
David is offline   Reply With Quote
The Following User Says Thank You to David For This Useful Post:
Old 12-03-2013, 05:09 PM   #11
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

Quote:
Originally Posted by David View Post
simple != good
Now, now, be nice

He can use a piece of software that isn't very popular in visual effects and animation if he so chooses
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
The Following User Says Thank You to NextDesign For This Useful Post:
Old 11-04-2013, 03:16 AM   #12
CollinBishop
Registered User
 
Join Date: Aug 2011
Location: Sliema Malta
Posts: 497
Thanks: 3
Thanked 101 Times in 89 Posts
Default

On the flip side it is much better to have the depth pass and use Frischluft...
CollinBishop is offline   Reply With Quote
The Following User Says Thank You to CollinBishop For This Useful Post:
Old 11-04-2013, 07:36 AM   #13
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,028
Thanks: 49
Thanked 389 Times in 304 Posts
Default

Quote:
Originally Posted by Chavfister View Post
On the flip side it is much better to have the depth pass and use Frischluft...
it's faster and it's always good to have a depth pass but it's not better, real 3d dof is pretty much always going to look better than something done in post.

That said if it's more than a few frames i almost always fake it, real 3d dof is bloody slow!
Dave
__________________
Worst Response To A Crisis:
From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
David is offline   Reply With Quote
The Following User Says Thank You to David For This Useful Post:
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Friday Tutorial #10 Bevel vs Smooth Miss_Nova Free Fridays 6 05-08-2012 12:01 AM
FumeFX for Maya BlackArr0w Members Lounge 1 19-04-2012 03:45 PM
Learning Maya 2009 tutorial problem! Massy2k Maya Basics & Newbie Lounge 12 13-02-2012 10:11 AM
Free Friday Tutorial #11 Hard Surface Modeling In Maya 2012 David Free Fridays 18 23-12-2011 06:07 AM

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.