POV-Ray : Newsgroups : povray.binaries.images : Re: Strange Attractors by Manuel Kasten : Re: Strange Attractors by Manuel Kasten Server Time
14 Nov 2024 06:15:45 EST (-0500)
  Re: Strange Attractors by Manuel Kasten  
From: Mike Williams
Date: 16 Mar 2004 22:41:37
Message: <fLC$OJAfx1VAFwhs@econym.demon.co.uk>
Wasn't it Dave Matthews who wrote:
>
>
>Mike Williams wrote:
>
>> Instead of adding a new sphere for each iteration of the strange attractor,
>> if there already was a sphere at a point I just changed its pigment to make
>> it brighter. 
>
>You added a "measure."  Nice!
>
>How did you decide whether there already was a sphere at a point?  I 
>mean, what did the POV code look like for that?  I've been trying to do 
>this, but my solutions are always very inefficient.  I'm guessing that 
>you store the locations in an array and compare (?)
>

Yes. I accumulated the brightnesses in an array and then only created
spheres where the brightness was non-zero. It wasn't particularly
efficient. 2h 47m 59s on a 850MHz Celeron.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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