Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 How to create depth maps for DOF PRO 
richardrosenman
Site Admin

Joined: 23 Oct 2005
Posts: 145
Location: Canada
Reply with quote
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

_________________
Richard Rosenman
DOF PRO Developer
Digital Animation Director
http://www.dofpro.com
http://www.mblpro.com
http://www.cgsphere.com
http://www.hatchstudios.net
http://www.lumierefilter.com
http://www.richardrosenman.com
View user's profile Send private message Visit poster's website
  
ivanisavich


Joined: 25 Oct 2005
Posts: 4
Location: Minneapolis, Minnesota
Reply with quote
Also...if you have afterfx, the simplest way to get a depth channel map is to do this:

1) -scanline: render your scene and save as an .rpf (with "z depth" output enabled within the save settings)

-vray: in the g-buffer settings, highlight z-depth and then save as an .rpf as described above

2) Open afterfx and import your .rpf file. Apply a 3d channel extract filter to your file, and select the z-depth as the chanel.

3) Adjust the filter settings until you have a smooth gradient between your closest and farthest objects

4) Export the image you are left with as a .bmp and crank open DOF Pro Smile...

_________________
http://www.theonlyt.com (Portfolio)

http://www.simplycg.net (CG forums)
View user's profile Send private message Visit poster's website MSN Messenger
 How to create depth map from jpg 
wgwild


Joined: 06 Sep 2006
Posts: 3
Reply with quote
I have just installed DOF Pro 2.0 and the tutorials indicate that I need a Depth Map but I don't see anywhere how I can make one from this photo. I am using this because Photoshop User Magazine gave a great review on it. Do I need another application to create a Depth Map?

Bill Question
View user's profile Send private message
  
richardrosenman
Site Admin

Joined: 23 Oct 2005
Posts: 145
Location: Canada
Reply with quote
Hi wgwild;

Take a look at this thread - it should answer some of your questions:

http://www.dofpro.com/forum/viewtopic.php?t=103

-Richard

_________________
Richard Rosenman
DOF PRO Developer
Digital Animation Director
http://www.dofpro.com
http://www.mblpro.com
http://www.cgsphere.com
http://www.hatchstudios.net
http://www.lumierefilter.com
http://www.richardrosenman.com
View user's profile Send private message Visit poster's website
  
ryan chiong


Joined: 12 Sep 2006
Posts: 3
Reply with quote
why doesnt DOF pro support JPGs or tiffs?

Ryan
View user's profile Send private message
  
richardrosenman
Site Admin

Joined: 23 Oct 2005
Posts: 145
Location: Canada
Reply with quote
Hi Ryan;

It will very, very soon... Cool

-Richard

_________________
Richard Rosenman
DOF PRO Developer
Digital Animation Director
http://www.dofpro.com
http://www.mblpro.com
http://www.cgsphere.com
http://www.hatchstudios.net
http://www.lumierefilter.com
http://www.richardrosenman.com
View user's profile Send private message Visit poster's website
  
lemon67


Joined: 11 May 2007
Posts: 1
Reply with quote
Hey, I need more tutorial than that. I have 3ds max, but like, how do I import an image? How does 3ds max know what is more deep then something else? Like I need the whole process please, very much appreciated!
View user's profile Send private message
  
Daniel_Bachmann


Joined: 17 Jun 2006
Posts: 8
Location: Switzerland
Reply with quote
lemon67 wrote:
Hey, I need more tutorial than that. I have 3ds max, but like, how do I import an image? How does 3ds max know what is more deep then something else? Like I need the whole process please, very much appreciated!


check your 3ds manual for "z buffer", you will find everything you need there.

dan
View user's profile Send private message Visit poster's website
 Installing V-Ray Plug-in 
Leapback


Joined: 28 Feb 2008
Posts: 1
Reply with quote
To make a map of D.O.F. I've downloaded a version of 3DS MAX 9 and V-Ray. The problem is that I cannot find anywhere the Plug-in in 3DS. Further more I want to import some photographic files. Which format should I use? With what converter I can reach that goal.

Hopefully someone can help my out,
Leapback, the Netherlands
View user's profile Send private message
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Reply to topic