POV-Ray : Newsgroups : povray.programming : POVRay Design Documents : Re: POVRay Design Documents Server Time
8 Jul 2024 18:52:11 EDT (-0400)
  Re: POVRay Design Documents  
From: ABX
Date: 20 Jan 2003 06:33:16
Message: <m3nn2voi60odkeefiu8i3idfr8dp6bcsmr@4ax.com>
On Sun, 19 Jan 2003 22:09:52 EST, "Don V Black" <dbl### [at] dcgFXcom> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.