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
Raytraced depth maps

| Your Rating:
rating star nonerating star nonerating star nonerating star nonerating star none
(0 Votes)
| Comments 0
Date Added: 9th December 2009
Software used:

Now for the refraction pass. it's pretty much the same thing. select all colors and, on their own layers, fill them with white. remember that reflections go on top of refractions.

785_tid_image-07.jpg 785_tid_image-08.jpg

Now let's start assigning depth values. starting with the floor. the floor, being so large, needs a gradiation since it has a vast depth. now use the eyedropper once on the depth map where the box and the floor visually "meet". and once on the depth map where the floor is farthest. (see below image) if you do not have a floor or any other reference object, simply approximate.

Now lock the layer's opacity and with the two eye-dropped colors, and the gradient tool, make the gradiation in the direction which is getting further with distance. use the depth map as a guide. the depth inside the refraction and outside shouldn't be too different. this applies to any object large enough that it needs a gradiation, including fog.

Now for the other objects, use the same technique. for example, if the object is visible both outside and inside the reflection/refraction, you can use the eye-dropper on the object in the software-produced depth map

If the object is not seen outside the reflection/refraction, you can use other objects which are relative to the object.


Now turn on all of the objects which were selected and colored in the previous steps and turn off all of the rendered layers except the software-produced depth map. our depth map is now ready.

Go to the top-most layer and select all (select menu > all) and copy merged (edit menu > copy merged). paste what you just copied into a blank alpha channel. now make your diffuse render active on the top-most layer and open the dof filter (filter > blur > lens blur in photoshop cs). in the filter parameters window, select your depth map. if there is only one alpha channel it will select it automatically. otherwise, select it from the drop-down. other filters make you select the depth before going into the filter so here's how. select the contents of the alpha channel by pressing the load channel as selection button on the bottom of the channels tab. enter the filter and bob's your uncle. from here on, you should know what to do. if you don't, refer to your dof filter's documentation.

some examples:

785_tid_image-16.jpg 785_tid_image-17.jpg

this solution works but can be quite a hassle you're using it on an animation. so until our great software providers update their software, think... stills.

< previous page

1 | 2
Related Tutorials

The making of Undead Bebop

by Vladimir Silkin
published on 2016-08-23

Keywords: Vladimir Silkin, TMNT, turtles, bebop, making of, 3ds Max

rating star fullrating star fullrating star fullrating star fullrating star full (5)
Comments 1 Views 4106

Making of Mclaren MP412-C

by João Paulo Lamonde
published on 2016-07-22

Keywords: João Paulo Lamonde, hard surface, car, 3ds Max, making of

rating star fullrating star fullrating star fullrating star fullrating star full (4)
Comments 0 Views 7789

Making of CATS

by Ongushi Piyavachara Arunotai
published on 2016-07-14

Keywords: Ongushi Arunotai, 3ds Max, cat, making of

rating star fullrating star fullrating star fullrating star fullrating star full (2)
Comments 1 Views 5055

Unreal Engine Part 14: Post effects

by Rob Redman
published on 2016-05-12

Keywords: Unreal, Engine, Game, first person, level, map, lighting, post effects

rating star fullrating star fullrating star halfrating star nonerating star none (3)
Comments 0 Views 9581
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment..