POV-Ray : Newsgroups : povray.windows : Parsing error with Pov Ray addon for blender. "No matching } in 'texture'" : Re: Parsing error with Pov Ray addon for blender. "No matching } in 'texture'" Server Time
21 Sep 2021 12:55:52 EDT (-0400)
  Re: Parsing error with Pov Ray addon for blender. "No matching } in 'texture'"  
From: William F Pokorny
Date: 10 Sep 2019 08:06:04
Message: <5d7791ac$1@news.povray.org>
On 9/9/19 11:10 PM, tylerm8101 wrote:
...
> 
> This text was apart of a larger group of text:
> 
> #declare MAT_Material_034 =
> texture{
>          slope { lampTarget1 }
>          texture_map {
>              [0.98 finish {diffuse 0.72}]
>              [0.002
>                  pigment {rgbft<1, 0.638, 0.716, 0, 0>}
>                  finish {shader_Material_034}
>              ]
>          }
>      }
>      texture_list {
>          9
>   texture{Material_051}
> 
>   texture{Material_052}
> 
>   texture{Material_034}
> 
>   texture{Material_035}
> 
>   texture{Material_038}
> 
>   texture{Material_059}
> 
>   texture{Material_015}
> 
> Im not sure if I needed to show more, I dont know what influences what. Sorry.
> 

As others have said the undeclared identifier means POV-Ray didn't know 
what that token meant, at the point it saw it, while parsing a texture 
block.

The SDL text posted is confusing to me. I doubt it's aligned well with 
the error message. The texture_list keyword is used only within meshes(1).

I'm pretty sure a texture_list {...} hanging in space won't itself 
parse. I don't know how we reached the token, Material_051, if this the 
SDL text causing the error.

Hmm, I guess it all could be inside a mesh/mesh2 block not shown, but 
declaring MAT_Material_034 inline/on the fly within a mesh like that 
would be odd - if such a thing works at all.

Bill P.


(1) There is a concept of TEXTURE_LIST which gets used with block 
patterns as in:

#declare TextureChecker = texture {
     checker
     texture { Tred }
     texture { Tgreen }
     scale 0.2
     warp {turbulence 0.5}
}


Post a reply to this message

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