Depth map is only in Black and white
6976 9 1- cigskillu
- Member
- 10 posts
- Joined: March 2009
- Offline
I'm trying to render a greyscale depth map ( z-depth) but the .rat shadow map is only generating in two colors, black or white.
The objects are white while the empty space is black. The actual scene is rendering fine, shadows and all. Its just a test scene of spheres.
Am trying to figure out how it works to use for a bigger scene.
Any of your help is welcome,
thanks, -Will
The objects are white while the empty space is black. The actual scene is rendering fine, shadows and all. Its just a test scene of spheres.
Am trying to figure out how it works to use for a bigger scene.
Any of your help is welcome,
thanks, -Will
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
If you press the “i” key when viewing your map in either MPlay or in the compositor, you'll see that you aren't just getting black and white values, you're getting values between 0 (where you see nothing) and however many units your furthest object is from your light.
This means that the brightest values will be an ultra white (greater than 1)
This means that the brightest values will be an ultra white (greater than 1)
Stephen Tucker
VFXTD
VFXTD
- cigskillu
- Member
- 10 posts
- Joined: March 2009
- Offline
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
- cigskillu
- Member
- 10 posts
- Joined: March 2009
- Offline
your right, i didn't know what that tool was so i called it zooming.
I found a few of your other post about z-depth maps and such and found out how to save that info in an nice small .exr or .pic file format. so i need to ask a few questions.
do you have any experience exporting the “Pz” info to adobe after effects?
Or possibly saving the viewed image in Mplay to another file format like png or bmp? I try to save the Pz channel in mplay but it is a black image, not the the one in the viewport.
-will
I found a few of your other post about z-depth maps and such and found out how to save that info in an nice small .exr or .pic file format. so i need to ask a few questions.
do you have any experience exporting the “Pz” info to adobe after effects?
Or possibly saving the viewed image in Mplay to another file format like png or bmp? I try to save the Pz channel in mplay but it is a black image, not the the one in the viewport.
-will
- stevenong
- Member
- 1634 posts
- Joined: July 2005
- Offline
cigskilluHi,
do you have any experience exporting the “Pz” info to adobe after effects?
Or possibly saving the viewed image in Mplay to another file format like png or bmp? I try to save the Pz channel in mplay but it is a black image, not the the one in the viewport.
-will
To save to an image format, all you need is to supply the file extension, for example, my_image.png or my_image.bmp.
For saving out the Pz channel from Mplay, you need to change the Scope parameter from “C” to “Pz” in the Save dialog.
For saving out Pz to another image when rendering to disk, turn on the “Different File” toggle in the Mantra ROP when setting up the Pz deep raster and specify the path and filename.
I forgot to mention watermarks will be added to the images if you are using a Houdini Apprentice license. No watermarks are added if you use Apprentice HD or Houdini Master/Escape commercial license.
Cheers!
steven
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
I'm not 100% sure what type of maps After Effects wants.
They expect normal rgb images with values between 0-1 that are used as a lumamatte right?
If so, you can open your image in our internal compositor (/img) using a file node
you can use a channel copy to copy Pz to R, G, and B, and use an equalize node to set the values to a range of 0-1
They expect normal rgb images with values between 0-1 that are used as a lumamatte right?
If so, you can open your image in our internal compositor (/img) using a file node
you can use a channel copy to copy Pz to R, G, and B, and use an equalize node to set the values to a range of 0-1
Stephen Tucker
VFXTD
VFXTD
- cigskillu
- Member
- 10 posts
- Joined: March 2009
- Offline
- cigskillu
- Member
- 10 posts
- Joined: March 2009
- Offline
Allegro
They expect normal rgb images with values between 0-1 that are used as a lumamatte right?
If so, you can open your image in our internal compositor (/img) using a file node
you can use a channel copy to copy Pz to R, G, and B, and use an equalize node to set the values to a range of 0-1
Iv been trying to figure out how to channel copy the Pz info to R.G.B as you instructed, i just havn't got it yet. Could you show me an example hip file or screen shot of how you would have the nodes set up correctly. I appreciate the time you have spent on my questions, thank you. This is a fun learning experience.
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
-
- Quick Links