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
2 Nov 2024 03:16:43 EDT (-0400)
  Re: Problem #3 In OpenVMS Port Of MegaPOV-Ray: Divide-by-zero error  
From: Robert Alan Byer
Date: 13 Mar 2000 12:25:53
Message: <38CCDE4E.3D0BE99E@mail.ourservers.net>
> 
> 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

Well, that helped some and now I can run the THREELENS.POV and
THREELENS2.POV
photon demos.  I can run the REFLECTION.POV demo if I turn off radiosity
(as radiosity still kinda broken,, goes into infinate loop, next thing
to fix).

When trying to trace SPHERECYL.POV it started to build the photon maps
and
then crashed (at the same place) with the following photon map output.

	this=15200, total=27525, m=0, area 1, 1 : 963

When I tried PRISM.POV it said...

	this=300, total=2846, m=0, area 1, 1 : 7017

The rest of the crashes died when trying to build the photon maps and
didn't even display any statistics.

I'm still getting crashes at the same line, and when trying to trace
MEDIAPHOT.POV I got a divide by zero error, but when I loaded it into
the
debugger and ran it again it came back as a floating point overflow so I
think I still have some things to work on. (I'm going to check my
compiler flags to see what could be conflicting and causing this.)

MEDIAPHOT.POV did output the following.

	this=300, total=0, m=2400, area 1, 1 : 0

-- 

 +--------------------------+----------------------------------------+
 | 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.