Photon Engine 2.0.0-beta
A physically based renderer.
|
A target that can receive any physical quantity, typically electromagnetic energy. The received energy is originated from some Emitter
s.
More...
#include <Receiver.h>
Public Member Functions | |
Receiver (const math::RigidTransform *receiverToWorld) | |
virtual | ~Receiver ()=default |
virtual math::Spectrum | receiveRay (const math::Vector2D &rasterCoord, Ray *out_ray) const =0 |
Generate a ray received by the receiver. | |
virtual void | evalEmittedImportanceAndPdfW (const math::Vector3R &targetPos, math::Vector2R *const out_filmCoord, math::Vector3R *const out_importance, real *out_filmArea, real *const out_pdfW) const =0 |
const math::RigidTransform & | getReceiverToWorld () const |
A target that can receive any physical quantity, typically electromagnetic energy. The received energy is originated from some Emitter
s.
|
explicit |
|
inlinevirtualdefault |
|
pure virtual |
Implemented in ph::PinholeCamera, ph::RectangularSensorReceiver, and ph::ThinLensCamera.
|
inline |
|
pure virtual |
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.
Implemented in ph::PinholeCamera, ph::RectangularSensorReceiver, and ph::ThinLensCamera.