POV-Ray : Newsgroups : povray.general : Cubic syntax pb : Cubic syntax pb Server Time
26 Apr 2024 22:54:59 EDT (-0400)
  Cubic syntax pb  
From: lelama
Date: 16 May 2018 19:15:01
Message: <web.5afcbab9b0bae1867a63dc9f0@news.povray.org>
Hi,
If I understand the documentation, the following code for the texture shoulde be
OK, as it is a identifier + a pigment. However I have the following error
message :Parse Error: No matching } in 'texture',
 pigment found instead

Any idea of the pb ?
Thanks,


#declare cubicOak = texture {cubic texture{pigment {image_map {png "chene.png"
}} rotate -90*y } ,texture{pigment {image_map {png "chene.png"  }} rotate -90*x
} ,texture{pigment {image_map {png "chene.png"  }}  } ,texture{pigment
{image_map {png "chene.png"  }} rotate -90*y } ,texture{pigment {image_map {png
"chene.png"  }} rotate -90*x } ,texture{pigment {image_map {png "chene.png"  }}
} ,  }
light_source {<-3.0,-4.0,10.0>color rgb <0.3864,0.3864,0.3864> spotlight }

//Unnamed Object
box {
<0.0,0.0,0.0>,<1.0,1.0,1.0> matrix <0.3 , 0.0 , 0.0 , 0.0 , 0.4 , 0.0 , 0.0 ,
0.0 , 0.5 , 0.0 , 0.0 , 0.0>texture {cubicOak pigment {White  }}}


Post a reply to this message

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