Page 1 of 1

Depth Maps Rendering for Close Objects Ignoring faces

Posted: Thu Jan 30, 2020 4:52 pm
by edwardsmith
Hi,

I am trying to render depth maps using pybullet. I often place my camera quite close to an object in the scene when rendering, and a when this occurs it seems like the faces of the object close to the camera are ignored, and not rendered. I have attached images to show how this is occurring. Is there some setting I am using wrong, or a way to stop this from occurring? This is the code I am using to render the image:
_, _, img, depth, _ = p.getCameraImage(
width=rx,
height=ry,
viewMatrix=vm,
projectionMatrix=pm,
renderer = pbER_BULLET_HARDWARE_OPENGL)

Thank you for the help!