On Sun, 19 Jan 2003 22:09:52 EST, "Don V Black" <dbl### [at] dcgFX com> wrote:
> Do any such documents exist within the POVRay community?
> Even such documentation from the DKBTrace or Version 2.x
> days would be appreciated and useful.
Main structure is builded similiar to all raytracers.
1. Take the point on screen.
2. Calculate ray for this point
3. Test all objects this ray can intersect.
4. Get nearest interesected object from all hits.
5. Calculate color this intersection
6. Put color on the screen
But I suppose you already know this :-)
There is dedicated chapter for POV-Ray internals in MegaPOV manual. It will be
extended in future versions probably. You can find it at
http://megapov.inetart.net/manual/internals.html
ABX
Post a reply to this message
|