Go Back   Community for CG Artists > Main Forums > Tutorials
New! Use your Facebook, Google, AIM & Yahoo accounts to securely log into this site, click logo to login  

Reply
 
LinkBack Thread Tools Rate Thread
Old 08-06-2006, 03:06 PM   #1 (permalink)
3DM3 Administrator
 
Stryker's Avatar


 
Join Date: May 2002
Age: 27
Posts: 3,708
Thanks: 84
Thanked 114 Times in 88 Posts
Rep Power: 10 Stryker is on a distinguished road
How to create depth maps for DOF PRO?

There are various methods for easily creating depth maps for DOF PRO. Using the Z-Depth in 3dsmax or the FOG feature, you can get a nice, fast depth map (or similar) which is ideal for DOF PRO. Here are three:

If you use 3dsmax VRay (Like I do):

1 - Open the Gobal Switches box in the Renderer tab in VRay
2 - Disable all options except for displacement (if your scene uses any)
3 - Open the Environment box and add Fog
4 - Make the fog color white and set your near to 100%, and far to 0%
5 - Check your camera settings and adjust the near and far ranges to cover the scene
6 - Render your scene and save as BMP.

If you use 3dsmax scanline*:

1 - Go to Render Elements in the render dialoge.
2 - Click add and select Z-Depth.
3 - Specify a minimum and maximum camera distance.
4 - Render your scene and save as BMP. It will render the RGB (which you don't need) and then the Depth Map will pop up.

Alternately, if you use 3dsmax scanline*:

1 - Assign everything a black, self-illuminated material.
2 - Create a light and turn it off (to disable 3dsmax default lights)
3 - Open the Environment box and add Fog
4 - Make the fog color white and set your near to 100%, and far to 0%
5 - Check your camera settings and adjust the near and far ranges to cover the scene
6 - Render your scene and save as BMP.

*Please note that switching to the 3dsmax scanline renderer will not take VRay displacement into consideration as well as some other renderer-dependent modeling effects.

Finally, you do not need to tweak the levels, gamma, brightness, contrast, etc. of your depth map in any third party application since you can do this directly within DOF PRO non-destructively using it's depth map editing tools.

-Richard
__________________
3DExport.com - 3D Models Store
2Textured.com - FREE High-Res Textures
CGChosen.com - CG Chosen E-magazine
Stryker is offline   Reply With Quote
Old 02-26-2010, 03:26 AM   #2 (permalink)
Registered User

 
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 mhill18 is on a distinguished road
Related question

Hello All,
This is my first post ever, for any thread. I've never had faith that it works, but here it goes:
I think this post by Stryker is related to what I am trying to do. I appreciate help from anyone who can provide guidance. I am looking to create a Custom stereogram, as with the "Magic Eye" Books. I need to produce the "depth" image, which is what appears when you cross your eyes. I'd like to create this image from an interior scene in 3ds max. The type of rendering I need though is something that I do not know how to produce on my own.
Please see attachment, I can adjust setting in 3dmax and any postwork in Photoshop is not a problem.
Thanks and regards,
Matt
Attached Thumbnails
How to create depth maps for DOF PRO?-example.jpg   How to create depth maps for DOF PRO?-izba3.jpg   How to create depth maps for DOF PRO?-3gear.jpg  

Last edited by mhill18; 02-26-2010 at 03:35 AM.. Reason: i didnt upload the images
mhill18 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Home - Archive - Top
You Rated this Thread: