class Raytracer::SPPM

Defined in:

raytracers/sppm.cr

Constructors

Instance Method Summary

Instance methods inherited from class Raytracer

camera : Camera camera, camera=(camera : Camera) camera=, estimate_background(hit, bsdf, wo, flags = ~BxDF::Type::Specular) estimate_background, estimate_direct(light, hit, bsdf, wo, flags = ~BxDF::Type::Specular) estimate_direct, gamma_correction : Float64 gamma_correction, gamma_correction=(gamma_correction : Float64) gamma_correction=, height : Int32 height, height=(height : Int32) height=, render(filename, adaptive = false) render, render_to_canvas(filename : String, adaptive = false) render_to_canvas, samples : Int32 samples, samples=(samples : Int32) samples=, scene : Scene scene, scene=(scene : Scene) scene=, uniform_sample_all_lights(hit, bsdf, wo) uniform_sample_all_lights, uniform_sample_one_light(hit, bsdf, wo) uniform_sample_one_light, width : Int32 width, width=(width : Int32) width=

Constructor methods inherited from class Raytracer

new(dimensions, camera, samples, scene) new

Constructor Detail

def self.new(dimensions, camera, samples, scene) #

[View source]

Instance Method Detail

def hash(p, size) #

[View source]
def initial_search_radius : Float64 #

[View source]
def initial_search_radius=(initial_search_radius : Float64) #

[View source]
def iterations : Int32 #

[View source]
def iterations=(iterations : Int32) #

[View source]
def photons_per_iteration : Int32 #

[View source]
def photons_per_iteration=(photons_per_iteration : Int32) #

[View source]
def recursion_depth : Int32 #

[View source]
def recursion_depth=(recursion_depth : Int32) #

[View source]
def render_to_canvas(filename, adaptive = false) #

[View source]
def to_grid(point, bounds, grid_res) #

[View source]
def write_to_canvas(pixels, n = @iterations) #

[View source]