Xors3d Engine
Camera projection types

Defines

#define PROJ_DISABLE   0
#define PROJ_ORTHOGRAPHIC   2
#define PROJ_PERSPECTIVE   1

Define Documentation

#define PROJ_DISABLE   0

Camera will be disabled.

#define PROJ_PERSPECTIVE   1

Perspective projection matrix will be used. The two most characteristic features of perspective are that objects are drawn:

  • Smaller as their distance from the observer increases
  • Foreshortened: the size of an object's dimensions along the line of sight are relatively shorter than dimensions across the line of sight
#define PROJ_ORTHOGRAPHIC   2

Orthographic projection matrix will be used. Orthographic projection corresponds to a perspective projection with a hypothetical viewpoint -- e.g., one where the camera lies an infinite distance away from the object and has an infinite focal length, or "zoom".