class Raytracer::Point

Defined in:

raytracers/normal.cr

Instance Method Summary

Instance methods inherited from class Raytracer::Base

cast_ray(ray) cast_ray, filter : Filter filter, filter=(filter : Filter) filter=, print_pixel(color, mode = :truecolor) print_pixel, recursion_depth : Int32 recursion_depth, recursion_depth=(recursion_depth : Int32) recursion_depth=, render_to_canvas(filename, adaptive = false) render_to_canvas, sample_pixel(sample, x, y, samples) sample_pixel

Constructor methods inherited from class Raytracer::Base

new(dimensions, camera, samples, scene, filter = Filter::Box.new(0.5)) new

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

Instance Method Detail

def cast_ray(ray) #

[View source]