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