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:10:44 EDT (-0400)
  Re: Problem #3 In OpenVMS Port Of MegaPOV-Ray: Divide-by-zero error  
From: Robert Alan Byer
Date: 13 Mar 2000 11:21:42
Message: <38CCCF44.27E3EA1B@mail.ourservers.net>
Nathan Kopp wrote:
> 
> 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

Thanks, I figured it was something like that :}

I do have one other problem, but I think I can work it out with the
compiler
before I start whining here :}

Thanks.

-- 

 +--------------------------+----------------------------------------+
 | Robert Alan Byer         | "I don't want to take over the world,  |
 | bye### [at] mailourserversnet |  just my own little part of it."       |
 | Phone: (317)357-2724     | http://www.ourservers.net/~byer        |
 +--------------------------+----------------------------------------+
 | Send an E-mail request to obtain my PGP key.        ICQ #65926579 |
 +-------------------------------------------------------------------+


Post a reply to this message

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