POV-Ray : Newsgroups : povray.advanced-users : Union of unions and macros : Re: Union of unions and macros Server Time
27 Apr 2024 01:46:37 EDT (-0400)
  Re: Union of unions and macros  
From: clipka
Date: 18 Feb 2016 22:20:36
Message: <56c68a04$1@news.povray.org>
Am 19.02.2016 um 03:51 schrieb Mike Horvath:
> I have the following bit of code:
> 
> 
> union
> {
>     #for (i, 1, Trees_Number)
>         #local Trees_Object = union
>         {
>             PlantPatch()
>             scale 1/64
>         }
>         Populate_Triangle(Trees_Object, 1, Seed, Flip)
>     #end
> }
> 
> 
> The result of the PlantPatch() and Populate_Triangle() macros are
> additional unions. However, I get the error, "No matching } in 'union',
> union found instead". Is there something wrong with the scene? I thought
> unions could contain other unions. Thanks.

You might want to have a closer look at the macros.


Post a reply to this message

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