6#include <Common/primitive_type.h>
15class DirectEnergySampleQuery;
16class DirectEnergyPdfQuery;
Information for the probability of generating a specific sample for direct energy estimation.
Definition DirectEnergyPdfQuery.h:81
Information for generating a sample for direct energy estimation.
Definition DirectEnergySampleQuery.h:89
An electromagnetic energy emitting source. The emitted energy can be captured by a Receiver.
Definition Emitter.h:68
Definition EmitterSampler.h:22
virtual void calcDirectPdf(DirectEnergyPdfQuery &query) const =0
Calculate the PDF of direct lighting for a target position.
virtual const Emitter * pickEmitter(SampleFlow &sampleFlow, real *out_PDF) const =0
virtual void genDirectSample(DirectEnergySampleQuery &query, SampleFlow &sampleFlow, HitProbe &probe) const =0
Sample direct lighting for a target position.
virtual void update(TSpanView< const Emitter * > emitters)=0
virtual ~EmitterSampler()
Lightweight ray intersection testing and reporting object. If an intersection is found,...
Definition HitProbe.h:27
A sample with arbitrary dimensions with fine-grained sampling control.
Definition SampleFlow.h:19
The root for all renderer implementations.
Definition EEngineProject.h:6
std::span< const T, EXTENT > TSpanView
Same as TSpan, except that the objects are const-qualified. Note that for pointer types,...
Definition TSpan.h:19