POV-Ray : Newsgroups : povray.programming : More POV-Ray crashes on Alpha : Re: More POV-Ray crashes on Alpha Server Time
29 Jul 2024 06:16:23 EDT (-0400)
  Re: More POV-Ray crashes on Alpha  
From: Mark Arrasmith
Date: 6 Aug 1998 18:25:22
Message: <35ca1f41.0@news.povray.org>
AHHH!!!  Where did my mountains go?
I tested this new compile on some old scenes and all of my mountains in the
scene went away (using height field with a fractal *.pot file).  Anyway I
have now tried four forms for the if statement . . .

(!dx_zero)
    this still crashed

(dx_zero)
    this lost the mountains but didn't crash

(dx_zero != 0)
    this lost the mountains but didn't crash

(maxdv != 0)
    mountains are back and it didn't crash

So, I'm going to stick with (maxdv != 0).  With the lines now looking like .
. .
if ((maxdv != 0) && (k1 < k2 - EPSILON / maxdv) && (k1>0.0))
and
if ((maxdv != 0) && (k1 < k2 + EPSILON / maxdv) && (k1 > 0.0))

I really need to look at how dx_zero is implimented.  This just seems odd.

mark arrasmith


Post a reply to this message

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