POV-Ray : Newsgroups : povray.newusers : Blobs and loops : Blobs and loops Server Time
5 Nov 2024 03:17:15 EST (-0500)
  Blobs and loops  
From: Mick Hazelgrove
Date: 1 Jan 2001 07:22:22
Message: <3a50767e@news.povray.org>
Take the following fragment of code

$ XPos = 0;
$ ZPos =0;

#while(ZPos<100)
     #while(XPos<100)
            blob {
                     threshold .65
                            sphere{<XPos,0,ZPos>, 1, 1
pigment{rgb<.25,1,.25>}
                                        translate vturbulence (1.5, 3,
3,<XPos,0,ZPos>/33)
                                        translate x*-50
                                         }
                      }
            #declare XPos = XPos + 1;
             #end
  #declare XPos = 0;
  #declare ZPos = ZPos+1;
#end

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

Mick


Post a reply to this message

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