POV-Ray : Newsgroups : povray.newusers : blob in while loop.... : Re: blob in while loop.... Server Time
5 Sep 2024 20:18:54 EDT (-0400)
  Re: blob in while loop....  
From: Chimera S  Grafi
Date: 23 Sep 1999 05:06:50
Message: <37e9edaa@news.povray.org>
This is a general rule with such things, if blob were union instead same
thing applies.  Probably a common mistake.  Looping the entire thing makes a
group of single component blobs, which is basically a sphere anyway.

--
/* Chimera */

Robert Chaffe <rch### [at] compaqnet> wrote in message
news:37e9a4fa@news.povray.org...
| Perhaps this?
|
| blob { threshold .5
|   #declare ct = 0;
|   #while (ct<10)
|     sphere {0,1,1 translate ct*y}
|   #declare ct = ct + .5;
|   #end
|   pigment {rgb <1,0,0>} }
|
|
| Jason Dinger <jas### [at] hotmailcom> wrote in message
| news:01bf0560$90c397c0$9a1ee1cf@jimmy-the-fish...
| > when trying to change the object of my while loop from a regular sphere
to
| > a blob
| > it seems to perform the while command but ignoring the blob and using
only
| > spheres?
| >
| > /*here's the code i'm using*/
| >
| > #declare ct = 0;
| >  #while (ct<10)
| > blob { threshold .5
| >  sphere {0,1,1 translate ct*y}
| >  pigment {rgb <1,0,0>} }
| >  #declare ct = ct + .5;
| > #end
|
|


Post a reply to this message

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