|
![](/i/fill.gif) |
autowitch wrote:
>
> How did you do the tiling?
>
You have two options (that I can think of).
1) Use the repeat warp. For example, to get a <0,0,0>-<1,1,1> slice of your
texture to tile in 3D, you need 3 consecutive repeat warps:
warp{repeat x}
warp{repeat y}
warp{repeat z}
2) The way I did it was to modify the (x,y,z) parameters in the function call,
like this:
function{
My_pigment_function(
abs(x)-floor(abs(x)),
abs(y)-floor(abs(y)),
abs(z)-floor(abs(z))
)
}
This also tiles a <0,0,0>-<1,1,1> slice of the pattern in 3D - but if I'm not
mistaken, the pattern is mirrored at the origin.
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Post a reply to this message
|
![](/i/fill.gif) |