POV-Ray : Newsgroups : povray.binaries.images : Re: Strange Attractors by Manuel Kasten : Re: Strange Attractors by Manuel Kasten Server Time
14 Nov 2024 06:12:56 EST (-0500)
  Re: Strange Attractors by Manuel Kasten  
From: Jellby
Date: 16 Mar 2004 15:11:17
Message: <40575f64@news.povray.org>
Among other things, Dave Matthews wrote:

> 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 (?)

Maybe test for "inside-ness" against a union of all spheres?

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

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