POV-Ray : Newsgroups : povray.newusers : Blobs and loops : Re: Blobs and loops Server Time
28 Nov 2024 13:36:23 EST (-0500)
  Re: Blobs and loops  
From: Steve
Date: 1 Jan 2001 08:51:14
Message: <slrn9512ov.d1m.steve@zero-pps.localdomain>
On Mon, 1 Jan 2001 12:28:47 -0000, Mick Hazelgrove wrote:

>How can I get all the blobs to bond together? I've tried putting the loop in
>the blob statement but it seems to make no difference. I'm stumped, please
>help

Here's the code for a blob that has a while loop in it.
I hope it makes some sence to you and explains what you 
need to know to solve your problem. 

 #local DogEar = 
                 blob{
                      #local EarRot =0;
                      threshold 0.1
                        #while(EarRot <46)
                          sphere{<0,0.,0>, 0.125, 0.5  translate y*0.75 rotate
z*-EarRot}
                          #local EarRot = EarRot+2;
                        #end
                      sphere{<0,0.,0>, 0.15, 0.75  translate y*0.75}
                      texture{finish{ToyFinish}
                              pigment{TreeTrunckColour}
                             }

                      scale <1,1,0.45> 
                      rotate z*-110
                      scale <2.5,2.5,2.75>
                     }


-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

  1:43pm  up 14 days,  1:04,  3 users,  load average: 1.19, 1.05, 1.01


Post a reply to this message

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