TODO
author Radek Brich <radek.brich@devl.cz>
Sun, 27 Apr 2008 22:55:17 +0200
branchpyrit
changeset 87 1081e3dd3f3e
parent 81 9dbb9c8c115b
child 91 9d66d323c354
permissions -rw-r--r--
Sphere, Box - RayPacket intersection replace 5x oversampling with 4x uniform oversampling

Bugs
====
 * (none known)

Future Plans
============
 * generalization: Camera "shader" (ray generator), surface shader and maybe light & background shaders
 * namespace
 * Python binding for all classes
 * stochastic oversampling
 * absorbtion of refracted rays in dense materials (can be computed using shape distance and some 'absorbance' constant)
 * implement efficient AABB-ray intersection using Plucker coordinates

New Classes?
============

scene.h   -- Scene, ...
reader.h  -- Reader, WavefrontReader

wf = new WavefrontReader()
wf.setContainer(top)
wf.setTransform(monkey_pos_matrix)
wf.read("monkey.obj")
// more transform&reads
destroy wf

Scene scene -- container with shapes, a camera and lights
scene = new Scene()
scene.setCamera(new Camera(eye, u, v, p))
scene.addLight(new PointLight(pos, color))
rt.setScene(scene)
rt.render(w,h)