POV-Ray : Newsgroups : povray.macintosh : NaN? : Re: NaN? Server Time
1 Jun 2024 19:42:00 EDT (-0400)
  Re: NaN?  
From: p
Date: 13 Jul 2001 23:48:40
Message: <3B4FC138.5BA056E8@bestweb.net>
Brandan Whearty wrote:

> Hey All:
>
> Mostly finished with a little scene file which renders a Mandelbrot in
> 3D.  It takes a while on my old iMac, but the results look pretty cool.
> On hitch I'm still trying to deal with is a returned value of "NaN" from
> the iteration macro.  I've searched pov.doc and failed to find what this
> value means or how to handle it.  Any thoughts would be appreciated.
>
> Sincerely,
> -- Brandan

I've gotten that same problem with the Amiga version *and* the windows
version of POV Ray.  I never could track down the cause so I eventually
concluded that it was a C pointer error and thus beyond ny control.  As a
workaround, I added this line near the beginning of the affected scene
file:

 #declare NaN = 0;

It's lame but it worked for me.

Pete


Post a reply to this message

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