1
$\begingroup$

Using a Python rendering script, I rendered albedo, normal, and depth images.

Below are example an albedo and corresponding depth image. I am not getting why depth is truncated at some moment. Could anyone please advise how I can get the depth of the entire object?

For the rendering script, I referred: https://github.com/panmari/stanford-shapenet-renderer.

albedo depth

$\endgroup$
  • 1
    $\begingroup$ What format are you using for the depth images? $\endgroup$ – user1853 Jul 18 '17 at 0:23
  • $\begingroup$ Yeah, that could potentially be an issue, if you are not using an HDR file format you are technically limited to 256 shades of grey for depth information $\endgroup$ – Duarte Farrajota Ramos Jul 18 '17 at 0:25
  • $\begingroup$ It saves the depth images as in PNG format now, $\endgroup$ – YW P Kwon Jul 18 '17 at 1:17
2
$\begingroup$

This may be an issue with the render distance. Can you try extending the camera distance and see if this helps?

With the camera object selected, increase its End clipping distance in Properties > Camera settings > Lens:

| improve this answer | |
$\endgroup$
  • $\begingroup$ I will try. But, please note that in my case, albedo and normal rendering is okay but only depth is problematic. can it still be the clipping problem? Plus, how can I control the clipping range in a python script? $\endgroup$ – YW P Kwon Jul 18 '17 at 1:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.