Photon Engine 2.0.0-beta
A physically based renderer.
|
Conductor-dielectric interface Fresnel effect. More...
#include <ExactConductorFresnel.h>
Public Member Functions | |
ExactConductorFresnel (real iorOuter, const math::Spectrum &iorInnerN, const math::Spectrum &iorInnerK) | |
ExactConductorFresnel (real iorOuter, const std::vector< real > &iorWavelengthsNm, const std::vector< real > &iorInnerNs, const std::vector< real > &iorInnerKs) | |
math::Spectrum | calcReflectance (real cosThetaIncident) const override |
Public Member Functions inherited from ph::ConductorFresnel | |
ConductorFresnel ()=default | |
Public Member Functions inherited from ph::FresnelEffect | |
virtual | ~FresnelEffect ()=default |
math::Spectrum | calcTransmittance (real cosThetaIncident) const |
Conductor-dielectric interface Fresnel effect.
The formulae used are exact ones, i.e., no approximation is made.
ph::ExactConductorFresnel::ExactConductorFresnel | ( | real | iorOuter, |
const math::Spectrum & | iorInnerN, | ||
const math::Spectrum & | iorInnerK ) |
ph::ExactConductorFresnel::ExactConductorFresnel | ( | real | iorOuter, |
const std::vector< real > & | iorWavelengthsNm, | ||
const std::vector< real > & | iorInnerNs, | ||
const std::vector< real > & | iorInnerKs ) |
|
overridevirtual |
cosThetaIncident | Cosine of the incident angle. |
cosThetaIncident
is signed, so inner and outer sides can be determined. Implements ph::ConductorFresnel.