[−][src]Trait pbrt::core::lightdistrib::LightDistribution
LightDistribution defines a general interface for classes that provide probability distributions for sampling light sources at a given point in space.
Required Methods
fn lookup(&self, p: &Point3f) -> Arc<Distribution1D>
Given a point |p| in space, this method returns a (hopefully effective) sampling distribution for light sources at that point.
Implementors
impl LightDistribution for PowerLightDistribution
[src]
impl LightDistribution for PowerLightDistribution
fn lookup(&self, _p: &Point3f) -> Arc<Distribution1D>
[src]
fn lookup(&self, _p: &Point3f) -> Arc<Distribution1D>
impl LightDistribution for SpatialLightDistribution
[src]
impl LightDistribution for SpatialLightDistribution
fn lookup(&self, p: &Point3f) -> Arc<Distribution1D>
[src]
fn lookup(&self, p: &Point3f) -> Arc<Distribution1D>
impl LightDistribution for UniformLightDistribution
[src]
impl LightDistribution for UniformLightDistribution
fn lookup(&self, _p: &Point3f) -> Arc<Distribution1D>
[src]
fn lookup(&self, _p: &Point3f) -> Arc<Distribution1D>