|
|
Is there an easy way to get pov ray to mirror a texture every time it
reaches a texture boundry?
The default way pov ray repeats a texture is wrap, looks like this:
http://www.math.uni-leipzig.de/pool/tuts/SelfDXD/DirectXGraphics/texturen/wrap.gif
The way I'd need the textures repeated should look like this:
http://www.math.uni-leipzig.de/pool/tuts/SelfDXD/DirectXGraphics/texturen/mirror.gif
I've managed to simulate texture mirroring using the image_map 4 times
(original, scaled by -1 in x, scaled in y and scaled in both x and y),
combining these using gradient x and gradient y, but now I'm stuck.
I can't interpolate my image_map (color leaks around the image borders) and
scaling the image has become a nightmare.
So is there a convenient way to achive texture mirroring?
Post a reply to this message
|
|