Creates a camera specification list with world-to-camera rotation matrix $R$, translation vector $t$, focal lengths, and principal point.
Arguments
- position
Numeric vector of length 3
c(x, y, z)specifying the camera position in world space.- look_at
Numeric vector of length 3
c(x, y, z)specifying the point the camera is looking at. Defaults toc(0, 0, 0).- up
Numeric vector of length 3
c(x, y, z)specifying the up vector. Defaults toc(0, 0, 1).- fov
Numeric scalar. Vertical field of view in degrees. Defaults to
50.0.- width
Integer. Viewport width in pixels. Defaults to
640.- height
Integer. Viewport height in pixels. Defaults to
480.
