|
![](/i/fill.gif) |
On 08/12/13 19:01, Alain wrote:
[...]
> Not tested.
> Did you try using the UV maping inside the texture_map?
That doesn't work, but you gave me an idea, and this does:
texture
{
pigment_pattern
{
uv_mapping function { x }
pigment_map
{
[0 rgb <0, 0, 0>]
[1 rgb <1, 1, 1>]
}
}
texture_map
{
[0 XYZ_Texture]
...
}
}
XYZ_Texture is evaluated using XYZ coordinates, even though the texture
is selected using the U ordinate. It's kind of evil, but it works. Thanks!
--
┌─── dg@cowlark.com ─────
http://www.cowlark.com ─────
│ "There does not now, nor will there ever, exist a programming
│ language in which it is the least bit hard to write bad programs." ---
│ Flon's Axiom
Post a reply to this message
|
![](/i/fill.gif) |