class CrystalRayTracer::RayTracer
- CrystalRayTracer::RayTracer
- Reference
- Object
Defined in:
crystal_ray_tracer/ray_tracer.crConstant Summary
-
MaxDepth =
5
Instance Method Summary
- #addLight(col, light, pos, norm, scene, thing, rd)
- #getNaturalColor(thing, pos, norm, rd, scene)
- #getPoint(x : Int32, y : Int32, screenWidth : Int32, screenHeight : Int32, camera)
- #getReflectionColor(thing, pos, normal, rd, scene, depth)
- #intersections(ray, scene)
- #render(scene, image, screenWidth, screenHeight)
- #shade(isect : Intersection, scene, depth)
- #testRay(ray, scene)
- #traceRay(ray, scene, depth)
Instance Method Detail
def getPoint(x : Int32, y : Int32, screenWidth : Int32, screenHeight : Int32, camera)
#