POV-Ray : Newsgroups : povray.general : Round_Box-weirdness : Round_Box-weirdness Server Time
29 Jul 2024 16:29:05 EDT (-0400)
  Round_Box-weirdness  
From: Marco
Date: 13 Feb 2011 09:30:00
Message: <web.4d57eaa9c85769096731f09e0@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.


Post a reply to this message

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