POV-Ray : Newsgroups : povray.binaries.images : can't get blobjects to connect : Re: can't get blobjects to connect Server Time
18 Aug 2024 14:23:26 EDT (-0400)
  Re: can't get blobjects to connect  
From: Anton Sherwood
Date: 17 Apr 2001 02:31:50
Message: <3ADBE36A.CF53AE76@pobox.com>
Anton Sherwood wrote:
> It appears to me that f (multiplied by whatever constant)
> is the Wrong Thing for the component radius, unless you want
> the lattice to break up at the top.

But if the radius is constant, the lattice gets thicker at the top.
I see the problem now: the vertical spacing is constant (0.5) but the
horizontal spacing shrinks (in proportion to the diameter of the cone).

Will elliptical components do?:

#declare h=1;
#declare mh=100;

blob    {
        threshold .5

        #while (h<mh)
        #declare f=(mh-h)/mh;
        #declare a=sin(h)*5*f;
        #declare b=(h)/5;
        #declare c=cos(h)*5*f;
//      sphere{<a,b,c>,f/2,f*20}
        sphere { 0,1.5,1
                scale <f,1,f>
                translate <5*f,b,0>
                rotate y*degrees(h)
                }
        #declare h=h+.5;
        #end

        pigment {color rgb 1}
        }

-- 
Anton Sherwood  --  br0### [at] p0b0xcom  --  http://ogre.nu/


Post a reply to this message


Attachments:
Download 'bryan1.jpg' (13 KB)

Preview of image 'bryan1.jpg'
bryan1.jpg


 

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