Photon Engine 2.0.0-beta
A physically based renderer.
|
#include <ThinDielectricShell.h>
Public Member Functions | |
ThinDielectricShell (std::shared_ptr< DielectricFresnel > fresnel) | |
ThinDielectricShell (std::shared_ptr< DielectricFresnel > fresnel, std::shared_ptr< TTexture< real > > thickness, std::shared_ptr< TTexture< math::Spectrum > > sigmaT) | |
ThinDielectricShell (std::shared_ptr< DielectricFresnel > fresnel, std::shared_ptr< TTexture< math::Spectrum > > reflectionScale, std::shared_ptr< TTexture< math::Spectrum > > transmissionScale) | |
ThinDielectricShell (std::shared_ptr< DielectricFresnel > fresnel, std::shared_ptr< TTexture< real > > thickness, std::shared_ptr< TTexture< math::Spectrum > > sigmaT, std::shared_ptr< TTexture< math::Spectrum > > reflectionScale, std::shared_ptr< TTexture< math::Spectrum > > transmissionScale) | |
ESurfacePhenomenon | getPhenomenonOf (SurfaceElemental elemental) const override |
Get the phenomenon of a surface component. One can also setup query for a specific elemental. See BsdfQueryContext . | |
Public Member Functions inherited from ph::SurfaceOptics | |
SurfaceOptics () | |
virtual | ~SurfaceOptics ()=default |
void | calcBsdf (BsdfEvalQuery &eval) const |
Executes a BSDF evaluation query. Respects sidedness policy. | |
void | genBsdfSample (BsdfSampleQuery &sample, SampleFlow &sampleFlow) const |
Executes a BSDF sample query. Respects sidedness policy. | |
void | calcBsdfPdf (BsdfPdfQuery &pdfQuery) const |
Executes a BSDF sample PDF query. Respects sidedness policy. | |
SurfacePhenomena | getAllPhenomena () const |
Get all phenomena that exist in this surface. | |
SurfaceElemental | numElementals () const |
Get number of components this surface contains. | |
virtual std::string | toString () const |
Additional Inherited Members | |
Protected Attributes inherited from ph::SurfaceOptics | |
SurfacePhenomena | m_phenomena |
SurfaceElemental | m_numElementals |
|
explicit |
ph::ThinDielectricShell::ThinDielectricShell | ( | std::shared_ptr< DielectricFresnel > | fresnel, |
std::shared_ptr< TTexture< real > > | thickness, | ||
std::shared_ptr< TTexture< math::Spectrum > > | sigmaT ) |
ph::ThinDielectricShell::ThinDielectricShell | ( | std::shared_ptr< DielectricFresnel > | fresnel, |
std::shared_ptr< TTexture< math::Spectrum > > | reflectionScale, | ||
std::shared_ptr< TTexture< math::Spectrum > > | transmissionScale ) |
ph::ThinDielectricShell::ThinDielectricShell | ( | std::shared_ptr< DielectricFresnel > | fresnel, |
std::shared_ptr< TTexture< real > > | thickness, | ||
std::shared_ptr< TTexture< math::Spectrum > > | sigmaT, | ||
std::shared_ptr< TTexture< math::Spectrum > > | reflectionScale, | ||
std::shared_ptr< TTexture< math::Spectrum > > | transmissionScale ) |
|
overridevirtual |
Get the phenomenon of a surface component. One can also setup query for a specific elemental. See BsdfQueryContext
.
Implements ph::SurfaceOptics.