back to main graphics page
The first step in this project is a library of geometry objects, which (unsurprisingly) is basically projective geometry. Actually, it's based on Jorge Stolfi's Oriented Projective Geometry. Although his book on the subject is out of print, his thesis is very similar to the book, and should be available on the net.
As mentioned below, if anyone is interested, let me know, and I'll look into open sourcing it.
For the past couple of years, I have been working on other aspects of Monte Carlo ray tracing. In the course of this, I wrote a paper that was submitted to Siggraph `03.
Anyway, I will post the new code as is; more when it sees first light.
The big one to look at is geometry.hh. I still haven't finished the unittest for it. IMHO unittest for numeric code is especially important because your program usually won't crash, your results are just wrong...
Anyway, any constructive criticism is welcome. If somebody wants to use it themselves, let me know and I'll release it under LGPL or something; likewise, if I receive code patches.