Struct arendur::bxdf::lambertian::LambertianTBxdf [] [src]

pub struct LambertianTBxdf {
    pub transmittance: RGBSpectrumf,
}

A lambertian transmission bxdf

Fields

Methods

impl LambertianTBxdf
[src]

construction

Trait Implementations

impl Copy for LambertianTBxdf
[src]

impl Clone for LambertianTBxdf
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LambertianTBxdf
[src]

Formats the value using the given formatter.

impl Bxdf for LambertianTBxdf
[src]

returns the type of the bxdf

evaluate the function given two normalized directions

hemispherical-directional reflectance

hemispherical-hemispherical reflactance

Given an outgoing direction wo, and a uniform sample u from $[0,1)2$, sample an incoming direction wi, and returns it with function value evaluated as f(wo, wi), as well as the pdf associated with the incoming direction, as well as the type of the scattering event. Read more

evalute pdf given the incoming and outgoing direction

check if the type matches

evaluate the function given two normalized directions, the particle being traced is camera-ray importance, rather than light radiance. Read more

Given an outgoing direction wo, and a uniform sample u from $[0,1)2$, sample an incoming direction wi, and returns it with function value evaluated as f(wo, wi), as well as the pdf associated with the incoming direction, as well as the type of the scattering event. The particles being traced is camera-ray importance, rather tan light radiance Read more