POV-Ray : Newsgroups : povray.general : Problem making macro work right : Re: Problem making macro work right Server Time
8 Aug 2024 06:14:15 EDT (-0400)
  Re: Problem making macro work right  
From: KalleK
Date: 19 Feb 2001 10:53:16
Message: <3a91416c@news.povray.org>
KalleK <kal### [at] gmxde> schrieb in im Newsbeitrag:
3a91393e$1@news.povray.org...
> Hi Dan!
>
> It's because there are more than one unions in the object{}
statement.
> That means there are too many - more than one - objects in the
> object-statement.
> The #while statement in your Grid#macro genereates several unions.
> You may make a union of those grid-generated unions:
>
> change
>  object {Grid(<2,2,2>,1,.1) pigment{Green}}
> to
>  object {union { Grid(<2,2,2>,1,.1) }pigment{Green}}
>
> But then you don't need the object-statement. You can just type:
>  union { Grid(<2,2,2>,1,.1) }pigment{Green}
>
> cukk


Sorry I meant:
 union { Grid(<2,2,2>,1,.1) pigment{Green}}
 (with pigment inside the union, of course.)

But I think Warp explained it better, anyway. (Working offline I
thougt, I was first, but he was "firster")

cukk


Post a reply to this message

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