diff -r 96d65f841791 -r 4c8abb8977dc DEVNOTES --- a/DEVNOTES Tue May 06 09:39:58 2008 +0200 +++ b/DEVNOTES Thu May 08 09:21:25 2008 +0200 @@ -24,3 +24,23 @@ ------------- Sampler - generate points in screen plane Camera - transform point from sampler to a ray + +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)