class

CrystalRayTracer::RayTracer

Inherits Reference < Object

Constants

MaxDepth = 5

Instance methods

addLight(col, light, pos, norm, scene, thing, rd)
Source
getNaturalColor(thing, pos, norm, rd, scene)
Source
getPoint(x : Int32, y : Int32, screenWidth : Int32, screenHeight : Int32, camera)
Source
getReflectionColor(thing, pos, normal, rd, scene, depth)
Source
intersections(ray, scene)
Source
render(scene, image, screenWidth, screenHeight)
Source
shade(isect : Intersection, scene, depth)
Source
testRay(ray, scene)
Source
traceRay(ray, scene, depth)
Source