POV-Ray : Newsgroups : povray.programming : Another question about radiosity : Another question about radiosity Server Time
28 Jul 2024 08:20:02 EDT (-0400)
  Another question about radiosity  
From: Christoph Hormann
Date: 3 Sep 2002 14:31:38
Message: <3D75000A.6D273FD1@gmx.de>
I found another strange thing in the radiosity code: There is a 'scale'
factor in the ra_gather() function (file radiosit.cpp) that is used in
line 794:

VAddScaledEq(Colour_Sums, scale, Temp_Colour);

to scale the color.  It's value is set to 1.0 in line 668 but not used or
changed anywhere else.  It seems to be a remainder from megapov when there
was a 'PHOTONS_DIRECT' switch - i'm not sure what it was about.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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