POV-Ray : Newsgroups : povray.general : Cubic syntax pb : Re: Cubic syntax pb Server Time
19 Apr 2024 09:24:54 EDT (-0400)
  Re: Cubic syntax pb  
From: lelama
Date: 17 May 2018 04:00:01
Message: <web.5afd358e884f5cc97a63dc9f0@news.povray.org>
Thank you Jim for the answer. However, the parenthesis seem correct to me.
Here is the same example in a simpler form to avoid checking parenthesis.

The problem seems specific to cubic since when I replace the first box by the
second the code works perfectly.



#declare pb = pigment {Blue}
#declare pw = pigment {White}
#declare cubicOak = texture {cubic texture{pb} ,texture{pb} ,texture{pb }
,texture{pb } ,texture{pb} ,texture{pb}   }
#declare myGlass = texture { Glass3 }

box {
<0.0,0.0,0.0>,<1.0,1.0,1.0> texture {cubicOak  pw }}

//box {
//<0.0,0.0,0.0>,<1.0,1.0,1.0> texture {myGlass  pw }}


Post a reply to this message

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