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

pub struct LambertianRBxdf {
    pub reflectance: RGBSpectrumf,
}

A lambertian reflection bxdf.

Fields

Methods

impl LambertianRBxdf
[src]

construction

Trait Implementations

impl Copy for LambertianRBxdf
[src]

impl Clone for LambertianRBxdf
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LambertianRBxdf
[src]

Formats the value using the given formatter.

impl Bxdf for LambertianRBxdf
[src]

returns the type of the bxdf

evaluate the function given two normalized directions

hemispherical-directional reflectance

hemispherical-hemispherical reflactance

check if the type matches

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

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

evalute pdf given the incoming and outgoing direction