|
![](/i/fill.gif) |
In article <38c01059$1@news.povray.org>, "David" <dav### [at] mac com>
wrote:
> This is so strange.
> If I create some objects w/ a while loop POV says I'm out of memory.
> This happens even if I give POV 3.1 96MB and have only two objects in the
> loop. I can put in as many as I want by hand.
> Is this a bug or am I doing somthing wrong?
>
> As a raytracing newbie, I awat an anwsore.
Are you sure the loop ends? If you control the loop with a counter
variable, but forget to increment the counter, it will keep looping and
creating objects until it runs out of memory.
#declare K=0;
#while(K<10)
...
#declare K=K+1;// If this isn't here, the loop will never end
#end
--
Chris Huff
e-mail: chr### [at] yahoo com
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |