POV-Ray : Newsgroups : povray.beta-test : Bug in fractal patterns of exponent > 4 (3.7beta6) Server Time
28 Dec 2024 06:07:30 EST (-0500)
  Bug in fractal patterns of exponent > 4 (3.7beta6) (Message 1 to 1 of 1)  
From: Warp
Subject: Bug in fractal patterns of exponent > 4 (3.7beta6)
Date: 23 Jun 2005 03:33:06
Message: <42ba65b2@news.povray.org>
Fractal patterns with exponents larger than 4 are not calculated
correctly with pov3.7beta6. Example:

plane
{ -z,-1
  pigment
  { mandel 20 exponent 5
    color_map
    { [0 rgb 0]
      [1 rgb 1]
      [1 rgb 0]
    }
  }
  finish { ambient 1 }
}

  My guess is that the table used for complex number exponentiation
is not initialized properly.
  (If I remember correctly, in pov3.6 this table is initialized the
first time the pattern is evaluated. IMO this table should be
initialized at povray startup, or at the parsing stage at latest.)

  (And by the way, if I remember correctly, it's a table of integers.
Thinking about it, I see no reason why it couldn't be a table of doubles.
Making it so would also remove the exponent limitation (up to a certain
amount).)

-- 
                                                          - Warp


Post a reply to this message

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