POV-Ray : Newsgroups : povray.programming : Julia object problem (job000216) Server Time
28 Jul 2024 04:19:28 EDT (-0400)
  Julia object problem (job000216) (Message 1 to 1 of 1)  
From: Massimo Valentini
Subject: Julia object problem (job000216)
Date: 5 Nov 2002 12:14:43
Message: <3dc7fc83@news.povray.org>
This bug seems related to the exit condition of the loop determining 
whether the sequence is bounded or unbounded. 

Here is an example that seems to fix the problem.
(Patch to apply against fractal.cpp of the linux sources, version
povray-3.50a). 

If someone wants the whole file, please ask.

HTH Massimo


--- src/fractal.cpp.ex Tue Nov  5 17:46:33 2002
+++ src/fractal.cpp Tue Nov  5 17:46:50 2002
@@ -632,7 +632,7 @@
         R = 2.0;
       }
 
-      Fractal->Exit_Value = Sqr(R);
+      Fractal->Exit_Value = Sqr(R) + Fractal_Tolerance;
 
       break;


Post a reply to this message

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