56 virtual std::string
toString()
const;
Output for BsdfEvalQuery.
Definition BsdfEvalQuery.h:47
Information for obtaining a sample value from BSDF.
Definition BsdfEvalQuery.h:90
Output for BsdfPdfQuery.
Definition BsdfPdfQuery.h:46
Information for the probability of generating a specific BSDF sample.
Definition BsdfPdfQuery.h:66
The environment a BSDF query is performed under.
Definition BsdfQueryContext.h:13
Output for BsdfSampleQuery.
Definition BsdfSampleQuery.h:45
Information for generating a BSDF sample.
Definition BsdfSampleQuery.h:141
Linearly interpolate between two surface optics.
Definition LerpedSurfaceOptics.h:19
A sample with arbitrary dimensions with fine-grained sampling control.
Definition SampleFlow.h:19
Describes how light interacts with a surface.
Definition SurfaceOptics.h:17
void calcBsdf(BsdfEvalQuery &eval) const
Executes a BSDF evaluation query. Respects sidedness policy.
Definition SurfaceOptics.cpp:17
virtual ESurfacePhenomenon getPhenomenonOf(SurfaceElemental elemental) const =0
Get the phenomenon of a surface component. One can also setup query for a specific elemental....
SurfaceElemental numElementals() const
Get number of components this surface contains.
Definition SurfaceOptics.h:99
SurfaceOptics()
Definition SurfaceOptics.cpp:12
void genBsdfSample(BsdfSampleQuery &sample, SampleFlow &sampleFlow) const
Executes a BSDF sample query. Respects sidedness policy.
Definition SurfaceOptics.cpp:32
SurfaceElemental m_numElementals
Definition SurfaceOptics.h:60
virtual std::string toString() const
Definition SurfaceOptics.h:104
void calcBsdfPdf(BsdfPdfQuery &pdfQuery) const
Executes a BSDF sample PDF query. Respects sidedness policy.
Definition SurfaceOptics.cpp:54
virtual ~SurfaceOptics()=default
SurfacePhenomena getAllPhenomena() const
Get all phenomena that exist in this surface.
Definition SurfaceOptics.h:94
SurfacePhenomena m_phenomena
Definition SurfaceOptics.h:59
Manipulate a value type where each bit is a binary flag.
Definition TBitFlags.h:17
The root for all renderer implementations.
Definition EEngineProject.h:6
ESurfacePhenomenon
Available surface phenomena.
Definition surface_optics_fwd.h:16
int SurfaceElemental
Definition surface_optics_fwd.h:30