|
The Vish Visualization Shell 0.3
Vish
|
Projection parameters for rendering. More...
#include <ocean/Anemonia/View.hpp>
Public Member Functions | |
| void | setFrustum (double left, double right, double bottom, double top, double nearVal, double farVal) |
| Set a perspectivic projection. | |
| void | setInfiniteFrustum (double Left, double Right, double Bottom, double Top, double NearVal) |
| Define a perspective projection that reaches into infinity. | |
| void | setOrthographic (double left, double right, double bottom, double top, double nearVal, double farVal) |
| Set an orthographic projection. | |
Public Attributes | |
| MatrixOrArray | Projection |
| A 4x4 projection matrix as required by OpenGL in column-major order. | |
Projection parameters for rendering.
Remembers the parameters used for construction and provides an OpenGL-compatible projection matrix.
| void Wizt::ProjectionParameters::setInfiniteFrustum | ( | double | Left, |
| double | Right, | ||
| double | Bottom, | ||
| double | Top, | ||
| double | NearVal | ||
| ) |
Define a perspective projection that reaches into infinity.
http://www.terathon.com/gdc07_lengyel.pdf
References Wizt::MatrixOrArray::Matrix, and Projection.