POV-Ray : Newsgroups : povray.general : Cubic syntax pb : Re: Cubic syntax pb Server Time
25 Apr 2024 16:07:39 EDT (-0400)
  Re: Cubic syntax pb  
From: Jim Holsenback
Date: 16 May 2018 21:00:54
Message: <5afcd446$1@news.povray.org>
On 05/16/2018 08:59 PM, Jim Holsenback wrote:
> On 05/16/2018 07:11 PM, lelama wrote:
>> 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"  }}
>> } ,  }
> 
> one more closing brace after the comma

after the /last/ comma

> 
>> 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.