|
|
"kane" <ann### [at] mindspringcom> wrote in message
news:3918cb90$1@news.povray.org...
> Here is the code i'm using to map the image of a face onto a head...
>
[snipped code]
>
> I try this and the image stays pointing forward and the head turns, so
that
> the face is on the side of the head......
>
> any ideas?
>
I'm with Giles on wanting to know what type of object "head" is. Personally
I tend to include the texture declaration for UV-mapped objects with the
mesh2 declaration of the mesh. E.G.
mesh
{
smooth_triangle {
<-0.0277779 , 0.371302 ,-0.0331393 > <-0.0639206 ,-0.152895
,-0.986173 >,
<-0.0257146 , 0.367395 ,-0.0327338 > < 0.00433927 ,-0.113552
,-0.993523 >,
<-0.0238329 , 0.370178 ,-0.0331331 > < 0.0084841 ,-0.150033
,-0.988645 >
uv_vectors
< 0.638865 , 0.36532 >,< 0.640906 , 0.361171 >,< 0.642727 ,
0.364192 >
}
...more trianlges...
smooth_triangle {
< 0.00102733 , 0.335028 ,-0.00355518 > <-0.112846 ,-0.934316 ,
0.338112 >,
< 0.000504653 , 0.335198 ,-0.00377561 > <-0.28251 ,-0.900641 ,
0.330201 >,
< 0.000501327 , 0.337475 , 0.00231839 > <-0.432333 ,-0.855839 ,
0.28395 >
uv_vectors
< 0.666954 , 0.328181 >,< 0.666477 , 0.328178 >,< 0.666358 ,
0.327304 >
}
uv_mapping
texture {MyTextureNameHere}
}
and I haven't noticed any problem with UV--POV or MegaPOv (0.3,0.4, and just
started using 0.5). I *did* notice some odd features when trying to do
UV-mapping in official POV (and befor eI got the hang of the syntax used
above) but not since.
Hope this helps (which version of POV are you using BTW?)
Cheers,
Cliff Bowman
Post a reply to this message
|
|