|
![](/i/fill.gif) |
In article <3767bb49@news.povray.org> , par### [at] fwi com (Ron Parker) wrote:
> From the documentation, the section on layered textures:
>
> ---------------
> Layered textures may be declared. For example
>
> #declare Layered_Examp =
> texture {T1}
> texture {T2}
> texture {T3}
> ---------------
>
> In fact, there are places you can't use a layered texture directly
> but you may use a declared one. From the same page in the docs:
>
> ---------------
> If you wish to use a layered texture in a block pattern, such as
> checker, hexagon, or brick, or in a material_map, you must declare
> it first and then reference it inside a single texture statement.
> ---------------
Aha, so I really missed that :-) Well, I don't use layered textures very
often...
> And here's the code from the parser, from parse.c in the function
> Parse_RValue. The interior EXPECT loop takes care of any remaining
> texture definitions after the first one, linking them to form a
> layered texture.
Makes sense. Thank you for the clarification.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: Tho### [at] csi com
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |