SimplyMaya Forums

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


SM Forums / SimplyMaya Tutorials / Simply Maya Tutorials / Free Friday Tutorial #12 Easy Depth of Field in Maya (DOF)

Simply Maya Tutorials This area is for questions and comments on our Video Training Library. We also welcome tutorial requests.

Join the conversation. Reply to post
 
Thread Tools
30-04-2012, 11:48 PM   #1
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,125
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?"
  Reply with quote
01-05-2012, 01:18 AM   #2
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
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.
  Reply with quote
01-05-2012, 01:29 AM   #3
bullet1968
Lifetime Member
 
bullet1968's Avatar
 
Join Date: Feb 2010
Location: Australia
Posts: 4,255
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
  Reply with quote
01-05-2012, 01:45 AM   #4
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,125
Quote:
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?"
  Reply with quote
01-05-2012, 01:50 AM   #5
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,125
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?"
  Reply with quote
01-05-2012, 11:21 AM   #6
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
Nice little tut thanks Dave..................dave
__________________


Avatar Challenge Winner 2010
  Reply with quote
04-08-2012, 10:03 PM   #7
elizabeth_NZ
Subscriber
 
Join Date: Mar 2011
Posts: 4
depth of field
thanks Dave, great tutorial!
  Reply with quote
26-02-2013, 07:10 AM   #8
LostBobaFett
Registered User
 
LostBobaFett's Avatar
 
Join Date: Aug 2004
Location: Minneapolis
Posts: 1
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
  Reply with quote
12-03-2013, 02:14 PM   #9
Skalman
Registered User
 
Skalman's Avatar
 
Join Date: Apr 2012
Posts: 293
This is so much more simple in cinema 4d
But that was a nice tutorial
  Reply with quote
12-03-2013, 02:19 PM   #10
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,125
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?"
  Reply with quote
12-03-2013, 05:09 PM   #11
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Quote:
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.
  Reply with quote
11-04-2013, 03:16 AM   #12
CollinBishop
Registered User
 
Join Date: Aug 2011
Location: Sliema Malta
Posts: 497
On the flip side it is much better to have the depth pass and use Frischluft...
  Reply with quote
11-04-2013, 07:36 AM   #13
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,125
Quote:
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?"
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wire Mesh Modeling in Maya Free Tutorial Problem MrYeti Maya Basics & Newbie Lounge 0 30-09-2013 11:06 PM
Free Friday Tutorial #16: Wire Mesh Modeling in Maya Nilla Simply Maya Tutorials 12 31-10-2012 11:52 AM
where can i download free maya 3d objects? duyquyen Maya Basics & Newbie Lounge 9 12-10-2012 12:38 PM
fur rendering failed????? olivermagno Maya Materials & Textures 2 21-05-2003 01:36 AM