POV-Ray : Newsgroups : povray.general : Round_Box-weirdness : Re: Round_Box-weirdness Server Time
29 Jul 2024 16:18:44 EDT (-0400)
  Re: Round_Box-weirdness  
From: Alain
Date: 13 Feb 2011 15:51:31
Message: <4d584453@news.povray.org>

> I hqve the ewirdest thing: I copied a Round_Box_Union, but cannot give it a
> texture, like the round_box I copied it from. In the 2nd I get this error (note:
> only in the 2nd one, not the first! ???)
>
> Parse Error: Expected 'object or directive', texture found instead
>
> #declare listBox=union{
>          Round_Box_Union
> (
>          //<-7, 0.25, 6>  <-1, 1.25, -7>, 0.2)
>          <-7, 0.25, 6>  <-1, 1.5, -7>, 0.2)
>          texture {T_Gold_1A}
> }
>
>          Round_Box_Union
> (
>          //<-7, 0.25, 6>  <-1, 1.25, -7>, 0.2)
>          <-8.5, 0.25, 6>  <-7.5, 1.25, -7>, 0.1)
>          texture {T_Gold_1A}
> }
>
> This has worked before, before I added the 2nd Round_Box I did get a nicely
> rendered
> Round_Box, with fancy Gold_1A texture and all.
>
>
>

just a single missing curly bracket "{" after the second round_box_union...


Alain


Post a reply to this message

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