|
![](/i/fill.gif) |
Thorsten Froehlich <tho### [at] trf de> wrote:
> It works as designed. No macros 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.
I propose a change in syntax for pov4. Layered textures should be inside
a clearly defined block, thus making it completely unambiguous to both the
parser and the user.
It could be something as simple as:
texture
{ layered texture_map
{ (textures here)
}
}
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |