|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi all,
I'm writing a raytracer for educational purpose.
I'm using an OpenGL like lighting calculation extendet with the reflected
and tranparent
branch as in classic raytracing.
I'm comparing the generated images with image from POVRAY with the same
scene
definition. Sometimes I see differences and want to know where they come
from.
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?
Thanks
Marcus
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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.
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks, but is this (important) part documented somewhere?
Marcus
"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.
>
> ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |