POV-Ray : Newsgroups : povray.off-topic : ANN: New, open-source, free software rendering system for physically correc= : Re: ANN: New, open-source, free software rendering system for physically co= Server Time
11 Oct 2024 21:19:10 EDT (-0400)
  Re: ANN: New, open-source, free software rendering system for physically co=  
From: Warp
Date: 26 Oct 2007 06:49:41
Message: <4721c644@news.povray.org>
scott <sco### [at] laptopcom> wrote:
> It does simply return the reflected colour, because the engine doesn't 
> actually display the reflected ray colour, does it?  It averages all the 
> rays together, including the refracted ones.

  A reflection *adds* to the color of a surface, it's not averaged with it.
If a surface reflects a black surrounding, it doesn't become darker. It
can only become lighter if it's reflecting a light surrounding.
  Basically if you have a reflecting surface with nothing to reflect
(everything around it is completely black), that's more or less equivalent
to not having reflection at all. (Ok, this is the most basic reflectivity
model, and real-life surfaces might behave slightly differently, but not
too much. The basic reflectivity model is often good-enough for simple
images.)

  Now, if you simply averaged the black reflected rays with the refracted
rays the end result would be darker and more opaque. In regular raytracing
the reflecting rays wouldn't have any effect on the coloring.

  Additionally, at which step is the surface's own color taken into account?
It cannot simply be dropped. It has to be added to the mix somewhere.
(The surface's own color is not only affected by its pigment, but also
by lighting.)

-- 
                                                          - Warp


Post a reply to this message

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