Title: strange artifacts in rendering M-set Post by: saijanai on July 27, 2012, 08:35:01 AM http://s1174.photobucket.com/albums/r605/saijanai/?albumview=slideshow
the pictures are radically different even with the same algorithm, same iterations, etc. taken from c code at: http://rosettacode.org/wiki/Mandelbrot_set#PPM_non_interactive Ideas for why this might be happening? :hmh: Title: Re: strange artifacts in rendering M-set Post by: hobold on July 27, 2012, 06:01:05 PM The rounded square shape of the outermost contour looks as though your bailout test is comparing (Zx^4 + Zy^4) rather than (Zx^2 + Zy^2). Maybe you accidentally squared the Zx2 and Zy2 variables twice?
Title: Re: strange artifacts in rendering M-set Post by: saijanai on July 28, 2012, 02:45:00 PM The rounded square shape of the outermost contour looks as though your bailout test is comparing (Zx^4 + Zy^4) rather than (Zx^2 + Zy^2). Maybe you accidentally squared the Zx2 and Zy2 variables twice? That was indeed it. I was calling mpfr_mul() twice on the same variable. Thanks |