TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now


This module implements orthographic camera functionalities.

Defined in rendering/camera/

An orthographic camera represents three-dimensional objects in two dimensions by parallel projection, in which the projection lines are parallel to the camera axis. The camera axis is the line perpendicular to the image plane starting at the camera center.


project(...): Projects a 3d point onto the 2d camera plane.

ray(...): Computes the 3d ray for a 2d point (the z component of the ray is 1).

unproject(...): Unprojects a 2d point in 3d.