Public Member Functions | |
Camera () | |
Vector3[,] | GenerateRays (Bitmap bitmap) |
Properties | |
Vector3 | Position |
Vector3 | Direction |
float | FocalDistance |
Vector3 | Right |
Vector3 | Up |
float | FOV |
|
Constructor. |
|
Creates a ray direction for every pixel in the bitmap. The bitmap to create the rays for. A list of ray directions for every pixel in the bitmap. |
|
The viewing direction of the camera. |
|
The distance from the eye position to the image plane. |
|
The field of view of the camera (in radians). |
|
The position of the eye point of the camera. |
|
Gets the right vector of the camera. |
|
Gets the up vector of the camera. |