|
|
in news:3ba4f6e6@news.povray.org Arturo Gonzalez wrote:
> Applying the same texture to a sphere, for instance, works okay.
for the mesh yoou have to add uv_vectors to the triangles, see 6.7.7.2.
Note to self: update syntax for mesh.
From your example, but with uv_vectors:
mesh {
triangle {
<0,0,0>,<3,1,1>,<6,0,0>
uv_vectors <0,0>,<1,0>,<1,1>
}
triangle {
<0,0,0>,<3,-2,0>,<6,0,0>
uv_vectors <0,0>,<0,1>,<1,1>
}
scale 3
translate 15*x
uv_mapping
pigment { Checkerboard }
}
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|