[][src]Trait pbrt::core::microfacet::MicrofacetDistribution

pub trait MicrofacetDistribution {
    fn d(&self, wh: &Vector3f) -> Float;
fn lambda(&self, w: &Vector3f) -> Float;
fn sample_wh(&self, wo: &Vector3f, u: &Point2f) -> Vector3f;
fn get_sample_visible_area(&self) -> bool; fn g1(&self, w: &Vector3f) -> Float { ... }
fn g(&self, wo: &Vector3f, wi: &Vector3f) -> Float { ... }
fn pdf(&self, wo: &Vector3f, wh: &Vector3f) -> Float { ... } }

Required Methods

Provided Methods

Implementors

impl MicrofacetDistribution for TrowbridgeReitzDistribution
[src]