zdepth with black and white gradient ?
18487 13 1- wlaroussi
- Member
- 39 posts
- Joined:
- Offline
- JColdrick
- Member
- 4140 posts
- Joined: July 2005
- Offline
- wlaroussi
- Member
- 39 posts
- Joined:
- Offline
Hi ,
I just add an extra image plane and add the vex variable Pz in houdini . In Nuke i tried differents combinations and nodes . The results always lead to crossing lines in the intersections of the two images or misalignement axis or somtimes rough edges . I used Modo and got very smooth and accurate composite without hassle (just adding a zdepth layer).
Regards
I just add an extra image plane and add the vex variable Pz in houdini . In Nuke i tried differents combinations and nodes . The results always lead to crossing lines in the intersections of the two images or misalignement axis or somtimes rough edges . I used Modo and got very smooth and accurate composite without hassle (just adding a zdepth layer).
Regards
- JColdrick
- Member
- 4140 posts
- Joined: July 2005
- Offline
- wlaroussi
- Member
- 39 posts
- Joined:
- Offline
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
- wlaroussi
- Member
- 39 posts
- Joined:
- Offline
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
- wlaroussi
- Member
- 39 posts
- Joined:
- Offline
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
Because your camera in the scene is fifty units away from the globe, the
depth values in you depth buffer will be >50
By default, mplay will display colors as 0.0 == black, 1.0 == white, and so
your globe will look all white. You can either adjust the brightness values by
hand, or click the “Adapt to Full Pixel Range”-button on the lower left. That
will display the smallest value in the image as black and the brightest value
as white. This is for display only, the file will still save with the actual depth
values.
The same is true for Nuke. (You can see in the previous screenshot how
I've adjusted the viewer brightness to get the value differences visible).
This is good for depth compositing. Some applications might export a
depth buffer with the actual values normalized to 0…1 range, but in that
case you lose the actual magnitude and depth order information.
eetu.
depth values in you depth buffer will be >50
By default, mplay will display colors as 0.0 == black, 1.0 == white, and so
your globe will look all white. You can either adjust the brightness values by
hand, or click the “Adapt to Full Pixel Range”-button on the lower left. That
will display the smallest value in the image as black and the brightest value
as white. This is for display only, the file will still save with the actual depth
values.
The same is true for Nuke. (You can see in the previous screenshot how
I've adjusted the viewer brightness to get the value differences visible).
This is good for depth compositing. Some applications might export a
depth buffer with the actual values normalized to 0…1 range, but in that
case you lose the actual magnitude and depth order information.
eetu.
- wlaroussi
- Member
- 39 posts
- Joined:
- Offline
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
- wlaroussi
- Member
- 39 posts
- Joined:
- Offline
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
Set the viewer alpha channel to depth.Z as shown in the Pz-n.png above, and
press ‘a’ to toggle between viewing RGB and depth. If the depth range is not
nicely visible, you can see the depth value under the mouse pointer in the
lower right corner of the nuke viewer (the white value to the right of the r g b
values)
Or, you can adjust the viewer gain/gamma to have a better visual idea of what the depth looks like.
eetu.
press ‘a’ to toggle between viewing RGB and depth. If the depth range is not
nicely visible, you can see the depth value under the mouse pointer in the
lower right corner of the nuke viewer (the white value to the right of the r g b
values)
Or, you can adjust the viewer gain/gamma to have a better visual idea of what the depth looks like.
eetu.
-
- Quick Links