Module camera

Source
Expand description

All camera models (Rust and Python)

Modulesยง

orthogonal ๐Ÿ”’
perspective ๐Ÿ”’

Constantsยง

EPS ๐Ÿ”’

Functionsยง

__pyfunction_py_look_at_extrinsic ๐Ÿ”’ โš 
from_ray_corner ๐Ÿ”’
Convert ray_corner (6, height + 1, width + 1) to ray (18, height, width) Camera model use x-right, y-down, z-forward axis scheme
look_at_extrinsic
Construct 4 * 4 extrinsic matrix from position, look_at, up vectors
orthogonal_ray
Orthogonal camera model (Rust and Python) Construct input ray for orthogonal camera model
perspective_ray
Perspective camera model (Rust and Python) Construct input ray for perspective camera model
py_camera
All camera models (Python)
py_look_at_extrinsic
Python version look_at_extrinsic Return matrix is F-contiguous (column first order)
py_orthogonal_ray
Orthogonal camera model (Rust and Python) Python version orthogonal_ray
py_perspective_ray
Perspective camera model (Rust and Python) Python version perspective_ray