POV-Ray : Newsgroups : povray.general : POVRAY Pixel Color Calculation? : Re: POVRAY Pixel Color Calculation? Server Time
7 Nov 2024 15:32:45 EST (-0500)
  Re: POVRAY Pixel Color Calculation?  
From: ABX
Date: 25 Aug 2003 12:18:22
Message: <padkkv8fj0gtdr7cic1p5qoills9fuhfd3@4ax.com>
On Mon, 25 Aug 2003 17:59:51 +0200, "Marcus Hudritsch" <mhu### [at] bluewinch>
wrote:
> "ABX" <abx### [at] abxartpl> wrote in message
> news:n7ckkvgev61m8mts22l65gecoe8p02k6j8@4ax.com...
> > On Mon, 25 Aug 2003 17:53:00 +0200, "Marcus Hudritsch"
> <mhu### [at] bluewinch>
> > wrote:
> > > I can't find the precise formula how POVRAY calculates the pixel color.
> > > Does anyone know where to find a description on the POVRAY pixel color
> > > calculation?
> >
> > Most of it is in lighting.cpp off course.
>
> Thanks, but is this (important) part documented somewhere?

It is part of POV-Ray sources and algorithms are written there in C++ code
(significantly) commented. For example start from Determine_Apparent_Colour()
function.

ABX


Post a reply to this message

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