|
|
Wasn't it Mienai who wrote:
>So I have a bicubic patch and I'm trying to apply two marble pattern
>textures to it with uv mapping, one rotated 90 degrees from the other.
>Unfortunately the rotation causes the pattern to become stretched instead
>of being rotated. Anyone know why and/or how to fix this?
You have to rotate around the z axis only.
(I suppose, theoretically, as a UV mapped texture you ought to rotate
around the W axis, but there isn't one.)
I used
uv_mapping
texture {pigment {marble
scale 0.1
colour_map {[0.5 rgb 1][0.5 rgb x]}
rotate z*90
}}
texture {pigment {marble
scale 0.1
colour_map {[0.5 rgbt 1][0.5 rgb x]}
}}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|