POV-Ray : Newsgroups : povray.general : Layered texture question : Re: Layered texture question Server Time
31 Jul 2024 08:24:31 EDT (-0400)
  Re: Layered texture question  
From: Thomas de Groot
Date: 21 Jun 2007 10:39:12
Message: <467a8d90$1@news.povray.org>
"Christian Froeschlin" <chr### [at] chrfrde> schreef in bericht 
news:467a8c12@news.povray.org...
> Thomas de Groot wrote:
>
>> Individually, the textures work fine, but when I layer them, POV-Ray 
>> gives an error message at the second texture {  telling me "Parse error: 
>> No matching } in 'texture', # found instead".
>
> Might be related to the following note in "3.5.6 Layered Textures":
>
> No macros are allowed in layered textures. The problem is that if a
> macro would contain a declare the parser could no longer guess that two
> or more texture identifiers are supposed to belong to the layered
> texture and not some other declare.

However, Rune's Grasstex works perfectly this way! This code is even an 
exact copy, and his original code has no problems....

Thomas


Post a reply to this message

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