bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Home Page:http://bulletphysics.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rendered Depth Image in Pybullet

ZisongXu opened this issue · comments

I check the rendered depth image in pybullet, this depth image should be generated based on Orthographic Projection Matrix, I do the following experiment:

I place the camera horizontally and then place the target object 5cm in front of the camera and get the rendered depth image;

Then I print the data of the depth image and found that all the pixel points are 0.05, so I conclude that the depth image is generated based on Orthographic Projection Matrix. I want to know if there is a way in pybullet to turn Orthographic Projection Matrix into Perspective Projection Matrix.