|
|
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
|
|