Message 1 of 9
How to render Z values from camera plane
Not applicable
11-10-2020
07:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
While rendering Z values, how can we convert the distance of pixels from camera to distance of the pixel from camera plane.
For example, if I render the depth value of a plane wall, all the Z values of the rendered depth should be same but pixels at the corner have more values then pixels at the center indication that it computes distance of the pixel from the camera not the camera plane.
As indicated in the two screenshots of the plane wall at 100cm, Z values should be same but they are different.
How can I planarize the Z values of the plane wall?
Render settings are following.
Width - 3840
Height - 2560
Resolution - 72 pixels/inch
Device Aspect Ratio - 72
Camera angle of view is 54.43
Focal Distance - 35