Hey everybody Ruan here from TunnelvizionTV and today I'm going to show you guys how to
do some awesome depth of field in 3dsmax.
First of all I have setup a very basic scene here - three teapots and a plane and I am
also using vray for this tutorial so I have a vray light very basic stuff and then I have
also added some very basic vray materials a vray light very basic stuff and then I have
also added some very basic vray materials a bit of reflection to each of these objects
to make it look a little bit better.
In order to create some depth of field you need to
add a vray physical camera to the scene.
So I am going to go to camera and vray, click on vray physical camera and then just drag
in a camera like that.
So that is going to create a vray camera.
The easiest way to position your camera is if you right click on perspective
go to cameras, look through that camera and then use the truck camera, the little hand
here at the bottom just to pan the camera around and then also the orbit tool just to
position your camera like that.
Then we're going to go back to perspective view and go
to the side so we can see the camera and the scene and the objects and all of those awesome
stuff.
So what we need to do is if you click on this camera and click on the modify panel
you should see all the camera settings.
So for this tutorial I will use a still camera because I am familiar with a DSLR camera.
And then what you want to do is I am going to bring the f-stop, that's your aperture,
I am going to make it wide open so set it to 0.8, so you can just type in 0.8 and you
will see it's going to just make your focus area very shallow and that's what we want,
we want to create a very shallow depth of field using a very large aperture.
So next what you want to do is you want to specify
the focus click that.
Then you can actually play with the focus distance.
And that will tell you where the camera is going to focus.
So we are going to try and set the middle plane of that focus on to the red teapot because
we want to have the red teapot in focus and the blue and green one out of focus.
So just play with that focus distance until you have
it in the right position where you want to create your focus point and that's basically
that.
Then we're going to come down to sampling and we're going to enable, very important
you need to enable depth of field right here.
So just tick that.
And you subdivisions for now 6 is fine to test it and then once we're
happy with the results we can up that to 32 to get a better quality depth of field.
So let's do a quick test render - I am going to look through the camera - change this to
vray camera, go to render setup just to make sure we're on vray, that's it.
And for now we're just going to use a very low resolution
480 by 270 and I am going to click render.
Let's see what we get.
So if I make this a bit bigger we can see we're getting some out
of focus things going on here a bit of blur it's very low quality so it's a bit difficult
to see but it's a bit over exposed so I am going to try and fix that quickly.
So I am going to go to our list selection and select
the vray physical camera and what I want to do because it's a bit overexposed I don't
really want to change the aperture because that we can fix the exposure with the aperture
but I want to leave that because we want that shallow depth of field so what I am going
to change is the shutter speed.
So currently the shutter speed is at 200, let's make that
800 and let's do a quick render again.
The exposure is looking better so let's render a better resolution, so I am going to make
this 1280 by 720 before I render that I just want to change the subdivisions for the depth
of field sampling, let's change it to 16.
Usually when I do a final render I will put it on 32 or even 64, so 16 should be fine
for this test.
So there we go as you can see the red teapot is nice in focus the green
one is out of focus, blue on is also out of focus so that's a nice shallow depth of field
it looks pretty good and the best way is just to play with the settings, play with the aperture,
the smaller you make the aperture, the smaller the number - the larger the aperture the more
shallow the depth of field will be.
Alright I hope you guys enjoyed this tutorial please
click on the subscribe button it really helps a lot and you can also give me a thumbs up
if you like this video.
See you guys next time.