POV-Ray : Newsgroups : povray.general : while-loop in macro : Re: while-loop in macro Server Time
5 Nov 2024 18:28:44 EST (-0500)
  Re: while-loop in macro  
From: Lenx
Date: 23 Feb 2003 17:10:07
Message: <web.3e594598d27a3e2ede2a6cfb0@news.povray.org>
Jellby wrote:
>
>So you finally have:
>
>object {
>  cylinder { }
>  translate
>  cylinder { }
>  translate
>  ...
>}
>

i don't understand how you come to that :-s


>This makes no sense, as far as I know. Try calling it as an union (instead
>of object) and moving the translate block inside the cylinder braces. So
>you have:
>
>union {
>  cylinder {
>    translate
>  }
>  cylinder {
>    translate
>  }
>  ...
>}
>

calling it as a union doesn't work. but the problem is something with the
while-loop and not with the cylinder. when i remove the #while and #end,
everything works fine.
when i add that while, i get the error.
it's very strange...

thx for the reply!

lenx


Post a reply to this message

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