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
(Score 0 out of 5 after 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

Creating a Working Chain in 3ds Max 8

by Jason DeRocco
published on 2009-12-09

Keywords: max, object, chain, metal,

rating star fullrating star fullrating star fullrating star fullrating star full (1)
Comments 0 Views 39365

Car Paint tutorial

by Daniel Buck
published on 2009-12-09

Keywords: car, paint, texturing, max,

rating star fullrating star fullrating star fullrating star halfrating star none (3)
Comments 0 Views 25683

Basic Materials & Lighting

by Michael Bauer
published on 2009-12-09

Keywords: lighting, texturing, max, basic,

rating star fullrating star fullrating star fullrating star fullrating star full (3)
Comments 1 Views 71878

Unreal Engine Part 10: Adding sound

by Rob Redman
published on 2016-03-17

Keywords: Unreal, Engine, Game, first person, level, map, trigger, audio, sound,

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