Keep up-to-date with Free tutorials!!

 

Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more

 

Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

 
submit tutorial
1 | 2
Creating Depth Of Field With 3DSMax & Photoshop

By Hani Mohammadi
| Your Rating:
rating star fullrating star fullrating star fullrating star fullrating star full
(3 Votes)
| 25235 Views
| 0 Comments
| Comments 0
Date Added: 24th March 2010
Software used:
3ds Max, Photoshop
1129_tid_main_01.jpg
Depth of Field is a cool effect that lets you bring focus to particular objects in the scene and blurring the rest of the background and foreground. Depth of Field (DOF) works according to Z, so distance is one of the important settings.

In this tutorial I am not going to talk about DOF technique in mental ray or Scanline. I'm just going to show the compositional way for simulating this effect with 3ds Max and Photoshop. In this way you just need to render your scene and then you can try out different distances for DOP. This way can be useful for style rendering and save a lot of time if you want to show different distances to your client.

Please Note: While I used the mental ray renderer for this tutorial, you can use VRay or Scanline as well.

So let's start!

Step 1

Open the following file (using the downloadable resources below) or use your own scene:

1129_tid_free_resource_2011.png

Step 2

This downloadable scene is ready for rendering. In the camera viewport hit Render. Then save the rendered image with a format that can support the alpha channel, such as TGA. Now need to get some information about depth of the scene. For this I used the Z Depth element. This element shows depth of scene in grayscale. The nearest objects appear in white, and the depth of the scene in black. Intermediate objects are in gray.

Step 3

Open the Render Setup dialog. In the Render Elements tab, hit Add. From the Render Elements list choose Z Depth (mostly at the end of list) and click OK (Fig.01).

1129_tid_image_01_render_setup.jpg
Fig. 01

Step 4

Now that Z Depth element has been added to your list, choose it and in bottom of Tab you will see the Z Depth Element parameters rollout. Here there are two fields that let you setup the minimum and maximum distances. For this scene, I changed Z Min to 20 and Z Max to 150. If you are using your own scene, you should render it several times and keep changing the Z Min and Z Max values until you get the right numbers (Fig.02).

1129_tid_image_02_zdepth_element.jpg
Fig. 02



Step 5

Now render the scene again. But first uncheck Final Gather because we don't need to use it now and it will cost render time. After hitting the render button, firstly the scene will be rendered and then it will give you Z Depth in another rendered frame window. Save it (Fig.03).

1129_tid_image_03_zdepth.jpg
Fig. 03

Step 6

Open both rendered pictures in Adobe Photoshop. While the Z Depth picture is active press Ctrl+A to select all the frames. Then press Ctrl+C to save them.

Step 7

Now choose the scene picture. In the Channel tab select Alpha channel. Press Ctrl+V to paste the Z Depth picture into it (Fig.04).

If you zoom into the picture you may find there are some hard edges in the Z Depth picture. We need to smooth them before moving to the next step (Fig.05).

1129_tid_image_04_alpha_channel.jpg
Fig. 04

1129_tid_image_05_bluring.jpg
Fig. 05



next page >

 
1 | 2
Related Tutorials

Tutorial

Gallery Image.



Keywords: vray, depth of field, shade, rendering,

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (2)
Comments 4 Views 49011

Tutorial

Gallery Image.



Keywords: 3ds max, water, animation, particles

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star full
Comments 0 Views 7452

Tutorial

Gallery Image.



Keywords: Maya, V-Ray, Photoshop, Retro, Interior, Scene, Space

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star half
Comments 0 Views 7145

Tutorial

Gallery Image.



Keywords: Photoshop, Scene, Mood

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star full
Comments 1 Views 6734
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment