Photon Engine 2.0.0-beta
A physically based renderer.
|
#include <ESPowerFavoring.h>
Public Member Functions | |
void | update (TSpanView< const Emitter * > emitters) override |
const Emitter * | pickEmitter (SampleFlow &sampleFlow, real *out_PDF) const override |
void | genDirectSample (DirectEnergySampleQuery &query, SampleFlow &sampleFlow, HitProbe &probe) const override |
Sample direct lighting for a target position. | |
void | calcDirectPdf (DirectEnergyPdfQuery &query) const override |
Calculate the PDF of direct lighting for a target position. | |
Public Member Functions inherited from ph::EmitterSampler | |
virtual | ~EmitterSampler () |
|
overridevirtual |
Calculate the PDF of direct lighting for a target position.
Implements ph::EmitterSampler.
|
overridevirtual |
Sample direct lighting for a target position.
DirectEnergySampleOutput::getObservationRay()
and probe
). Implements ph::EmitterSampler.
|
overridevirtual |
Implements ph::EmitterSampler.
Implements ph::EmitterSampler.