POV-Ray : Newsgroups : povray.newusers : Blobs and loops : Blobs and loops Server Time
5 Sep 2024 12:21:29 EDT (-0400)
  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.