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
|