Camera.h File Reference
#include <utils/PropertyMap.h>#include <shapes/Shape.h>#include <core/Ray.h>Go to the source code of this file.
Classes | |
| class | Camera |
| Abstract camera that all Milton cameras subclass, representing a mapping from film-space to world-space and vice-versa. Cameras may optionally also specify an OpenGL preview projection matrix that can be used by OpenGLRenderer. Film-space is represented by (slightly modified) Normalized Device Coordinates (NDC), which are unit film-plane coordinates, with (x,y) both ranging inbetween 0 and 1. NDC lie in the unit square [0,1]^2, where [0,0] gets mapped to the upper left corner of the corresponding Viewport/Image, and [1,1] is the lower right corner. NDC film-space allows for mapping rendering results onto an arbitrarily-sized Viewport/Image. More... | |
Generated on 28 Feb 2009 for Milton by
1.5.6