CrystalRayTracer::RayTracer
Inherits Reference < Object
Constants
MaxDepth = 5
Instance methods
addLight(col, light, pos, norm, scene, thing, rd)
SourcegetNaturalColor(thing, pos, norm, rd, scene)
SourcegetPoint(x : Int32, y : Int32, screenWidth : Int32, screenHeight : Int32, camera)
SourcegetReflectionColor(thing, pos, normal, rd, scene, depth)
Sourceintersections(ray, scene)
Sourcerender(scene, image, screenWidth, screenHeight)
Sourceshade(isect : Intersection, scene, depth)
SourcetestRay(ray, scene)
SourcetraceRay(ray, scene, depth)
Source