Exemple #1
0
 override public Spectrum rho(Vector w, int nSamples, float samples)
 {
     return(brdf.rho(BSDFFunction.otherHemisphere(w), nSamples, samples));
 }
Exemple #2
0
 override public Spectrum f(Vector wo, Vector wi)
 {
     return(brdf.f(wo, BSDFFunction.otherHemisphere(wi)));
 }
Exemple #3
0
 override public Spectrum Sample_f(Vector wo, Vector wi, float u1, float u2, float pdf)
 {
     Spectrum f = brdf.Sample_f(wo, wi, u1, u2, pdf); wi = BSDFFunction.otherHemisphere(wi); return(new Spectrum());
 }