Camera¶
-
class
pyrender.camera.Camera(znear=0.05, zfar=100.0, name=None)[source]¶ Bases:
objectAbstract base class for all cameras.
Note
Camera poses are specified in the OpenGL format, where the z axis points away from the view direction and the x and y axes point to the right and up in the image plane, respectively.
Parameters: Attributes Summary
nameThe user-defined name of this object. zfarThe distance to the far clipping plane. znearThe distance to the near clipping plane. Methods Summary
get_projection_matrix([width, height])Return the OpenGL projection matrix for this camera. Attributes Documentation
Methods Documentation