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

Converting a Standard Camera to a VRay Camera

by VRay Guide
published on 2012-02-01

Keywords: camera, vray, max,

rating star fullrating star fullrating star fullrating star fullrating star none (7)
Comments 10 Views 82543

Unreal Engine Part 11: Linking audio to actions and objects

by Rob Redman
published on 2016-03-29

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

rating star nonerating star nonerating star nonerating star nonerating star none (0)
Comments 0 Views 4422

Pinbox: Part 2 - Animating

by Lee Johnson
published on 2009-12-09

Keywords: pin, box, object, animation, max,

rating star fullrating star fullrating star fullrating star fullrating star none (1)
Comments 0 Views 25463

Head Mapping

by Richard Tilbury
published on 2009-12-09

Keywords: character, head, mapping, max,

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