[−][src]Trait pbrt::core::integrator::SamplerIntegrator
Required Methods
fn preprocess(
&mut self,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>
)
&mut self,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>
)
fn li(
&self,
ray: &mut Ray,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>,
depth: i32
) -> Spectrum
&self,
ray: &mut Ray,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>,
depth: i32
) -> Spectrum
Returns the incident radiance at the origin of a given ray. Uses the scene's intersect routine to calculate a SurfaceInteraction and spawns rays if necessary.
fn get_pixel_bounds(&self) -> Bounds2i
Implementors
impl SamplerIntegrator for AOIntegrator
[src]
impl SamplerIntegrator for AOIntegrator
fn preprocess(
&mut self,
_scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>
)
[src]
fn preprocess(
&mut self,
_scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>
)
fn li(
&self,
r: &mut Ray,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>,
_depth: i32
) -> Spectrum
[src]
fn li(
&self,
r: &mut Ray,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>,
_depth: i32
) -> Spectrum
fn get_pixel_bounds(&self) -> Bounds2i
[src]
fn get_pixel_bounds(&self) -> Bounds2i
impl SamplerIntegrator for DirectLightingIntegrator
[src]
impl SamplerIntegrator for DirectLightingIntegrator
fn preprocess(
&mut self,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>
)
[src]
fn preprocess(
&mut self,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>
)
fn li(
&self,
ray: &mut Ray,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>,
depth: i32
) -> Spectrum
[src]
fn li(
&self,
ray: &mut Ray,
scene: &Scene,
sampler: &mut Box<dyn Sampler + Send + Sync>,
depth: i32
) -> Spectrum
fn get_pixel_bounds(&self) -> Bounds2i
[src]
fn get_pixel_bounds(&self) -> Bounds2i
impl SamplerIntegrator for PathIntegrator
[src]
impl SamplerIntegrator for PathIntegrator