cameras Directory Reference
Files | |
| file | Camera.cpp [code] |
| 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. | |
| file | Camera.h [code] |
| file | cameras.h [code] |
| Convenience header which includes all public camera headers. | |
| file | PinholeCamera.cpp [code] |
| Basic pinhole camera using perspective projection (aka Camera Obscura). | |
| file | PinholeCamera.h [code] |
| file | ThinLensCamera.cpp [code] |
| Thin lens camera approximation supporting common camera inputs and allowing for depth of field. | |
| file | ThinLensCamera.h [code] |
Generated on 28 Feb 2009 for Milton by
1.5.6