POV-Ray : Newsgroups : povray.advanced-users : Union of unions and macros : Re: Union of unions and macros Server Time
27 Apr 2024 07:10:15 EDT (-0400)
  Re: Union of unions and macros  
From: Mike Horvath
Date: 20 Feb 2016 16:47:30
Message: <56c8def2@news.povray.org>
On 2/20/2016 3:42 PM, dick balaska wrote:
> On 2/20/2016 2:32 PM, Alain wrote:
>
>>
>> Excuse me, but changing an union to an intersection or difference?
>> There is no way that can give the same result, ever. It will also render
>> MUCH slower.
>>
>> My guess is that one of those macros produce an union that may be
>> missing it's closing brace.
>
> No, the point is not to render it, it's just to parse it to figure which
> of the 3 nested unions is missing the }.  If one changes a union to a
> difference, maybe it says "missing } in difference" and buys one a clue
> to where the problem is.
>
> dik
>
>


I changed this:

#local Trees_Object = union
          {
              PlantPatch()
              scale 1/64
          }

to this:

#local Trees_Object = object
          {
              PlantPatch()
              scale 1/64
          }

Now it works. Thanks guys!


Mike


Post a reply to this message

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