POV-Ray : Newsgroups : povray.programming : Problem #3 In OpenVMS Port Of MegaPOV-Ray: Divide-by-zero error : Re: Problem #3 In OpenVMS Port Of MegaPOV-Ray: Divide-by-zero error Server Time
29 Jul 2024 08:18:18 EDT (-0400)
  Re: Problem #3 In OpenVMS Port Of MegaPOV-Ray: Divide-by-zero error  
From: Nathan Kopp
Date: 13 Mar 2000 09:57:02
Message: <38cd01be$1@news.povray.org>
Robert Alan Byer <bye### [at] mailourserversnet> wrote...
>     Colour[TRANSM] *= C1[TRANSM];

The filter and transmit channels of Colour do not get initialized during
photon tracing.  To correct this, add the following lines before the call to
Trace() in ShootPhotonsAtObject in photons.c:

PhotonColour[3] = 0.0;
PhotonColour[4] = 0.0;

-Nathan


Post a reply to this message

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