|
|
The "transform {}" syntax seems not to work within textures...
This:
texture_map {
#local J = 0;
#while(J < Samples)
[J/(Samples - 1) Texture transform {rotate y*Amt*pow(J/(Samples
- 1), Exp)}]
#local J = J + 1;
#end
}
will give a parse error "Expected 'transform identifier', { found
instead", but this works:
texture_map {
#local J = 0;
#while(J < Samples)
#local Trans = transform {rotate y*Amt*pow(J/(Samples - 1),
Exp)}
[J/(Samples - 1) Texture transform Trans]
#local J = J + 1;
#end
}
(I will post a test scene if necessary)
I have only noticed it happening in texture_maps, but I think I saw
someone else mention it happening with pigments, so there are probably
other cases where it happens.
--
--
Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|
|
|
Christopher James Huff wrote:
>
> The "transform {}" syntax seems not to work within textures...
>
> [...]
>
> (I will post a test scene if necessary)
> I have only noticed it happening in texture_maps, but I think I saw
> someone else mention it happening with pigments, so there are probably
> other cases where it happens.
>
I mentioned this in:
Subject: transform syntax
Date: Sun, 02 Dec 2001 10:02:19 +0100
From: Christoph Hormann <chr### [at] gmxde>
Newsgroups: povray.beta-test
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|