|
![](/i/fill.gif) |
Thorsten Froehlich wrote:
>
> In article <3766F4D6.DFC19439@Kopp.com> , Nathan Kopp <Nat### [at] Kopp com>
> wrote:
>
> > That's how you do layered textures. And this parser keeps looking harder
> > and harder to fix. :-( ...and it looked so easy at first.
>
> Yes, layered textures _inside_ object declarations, but if I read this right
>
> #declare T_Wood34 =
> texture { T_Wood32 }
> texture { ... }
>
> should (or will) only declare
>
> #declare T_Wood34 =
> texture { T_Wood32 }
>
> and I suppose that the parser complains about the second texture { ... } if
> the #if .. #end isn't there. I would suggest to declare each of the
> textures and then use each of them in the object which still gives a layered
> texture.
>
> Thorsten
>
> ____________________________________________________
> Thorsten Froehlich, Duisburg, Germany
> e-mail: Tho### [at] csi com
>
> Visit POV-Ray on the web: http://mac.povray.org
Dating back at least as far as Pov v2.2 it has been valid to declare
textures as previously illustrated i.e.
#declare T1 =
texture { ... }
texture { ... }
object { thing texture { T1 }}
I have designed and used so many layered textures this way I can verify it's
legitimacy.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
![](/i/fill.gif) |