#include <PinholeCamera.h>
◆ PinholeCamera()
- Parameters
-
sensorSize | Size of the installed sensor. |
rasterToSensor | Transform from raster to sensor position (in camera space). |
receiverToWorld | Transform from camera to world space. |
◆ evalEmittedImportanceAndPdfW()
void ph::PinholeCamera::evalEmittedImportanceAndPdfW |
( |
const math::Vector3R & | targetPos, |
|
|
math::Vector2R *const | out_filmCoord, |
|
|
math::Vector3R *const | out_importance, |
|
|
real * | out_filmArea, |
|
|
real *const | out_pdfW ) const |
|
overridevirtual |
◆ getCameraToWorld()
◆ receiveRay()
Generate a ray received by the receiver.
Given raster coordinates, generate a corresponding ray that would have hit that location from the light entry of the receiver. The light entry would be the outmost surface of a camera's lens system for example. This method is for Monte-Carlo sampling.
- Returns
- A weighting factor for the received quantity. Proper sensor response and sampling PDF are included in the returned weight.
Implements ph::RectangularSensorReceiver.
The documentation for this class was generated from the following files: