Lukich Posted January 26, 2008 Share Posted January 26, 2008 (edited) So, I was trying to create a very basic z-depth render in h9. Went to the mantra, added a plane and set the name and the vex variable to Pz. Rendered it, but the Pz channel is completely white. Shift-R didn't do anything. Do you guys know what I might be missing? Thanks, Luka Edit: Never mind, figured it out:) Edited January 26, 2008 by Lukich Quote Link to comment Share on other sites More sharing options...
bdunaway Posted February 7, 2008 Share Posted February 7, 2008 Edit: Never mind, figured it out:) Do tell, I'm having the same problem. Quote Link to comment Share on other sites More sharing options...
Jason Posted February 7, 2008 Share Posted February 7, 2008 Do tell, I'm having the same problem. The values output in the Pz variable are raw, world-space camera depth so the values are very often greater than 1.0. These values are not fitted/mapped to a 0-1 range (based on the furthest point or anything else). 1. Make sure you're rendering Pz into a 16-bit or 32-bit floating point image / plane. 2. Make sure that when viewing the image, you are not viewing through a LUT in Mplay as this clamps the data upon view. If you have these steps correct, you can gain down the image and see all your lovely depth values. Hope this helps, Jason Quote Link to comment Share on other sites More sharing options...
bdunaway Posted February 7, 2008 Share Posted February 7, 2008 Ah, thanks Jason. The gain was the issue. I thought I had plenty of depth of geometry in my scene, but apparently not. I had to drop my gain way down. Quote Link to comment Share on other sites More sharing options...
mark Posted February 14, 2008 Share Posted February 14, 2008 where do you add the Pz ? i cant find anything in the help... i want to render z-depth for DOF in COPs Quote Link to comment Share on other sites More sharing options...
rdg Posted February 14, 2008 Share Posted February 14, 2008 where do you add the Pz ? i cant find anything in the help... i want to render z-depth for DOF in COPs you can add it as an image plane in your output driver. Depending on your output format it is saved in an external file (eg. JPG)or in the *main image* (eg. pic or openEXR). Georg Quote Link to comment Share on other sites More sharing options...
mark Posted February 15, 2008 Share Posted February 15, 2008 you can add it as an image plane in your output driver.Depending on your output format it is saved in an external file (eg. JPG)or in the *main image* (eg. pic or openEXR). Georg ahh i see - thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.