|
|
Trying to create a mesh for use with meshcam and I'm struggling a bit
because when I use uv_mapping with the povray procedural texture it
looks wrong ... comment it out and it's all good. I'm thinking something
isn't right with the uv_vectors portion. The mesh was created in
blender, exported as .obj because .3ds didn't pick up the uv map ...
then through poseray to pov mesh2 format.
I understand what's going on with the vertex and normal sections, can
someone add some clarity to the uv section? As a guess, since there are
only two faces, the remaining sections are talking about those.
mesh2 {
vertex_vectors { 4,
<9.5,0,9.5>,
<-9.5,0,9.5>,
<-9.5,0,-9.5>,
<9.5,0,-9.5>
}
normal_vectors { 4,
<0,1,0>,
<0,1,0>,
<0,1,0>,
<0,1,0>
}
uv_vectors { 4,
<0,0>,
<1,0>,
<1,1>,
<0,1>
}
face_indices { 2,
<0,1,2>,
<0,2,3>
}
uv_indices { 2,
<0,1,2>,
<0,2,3>
}
normal_indices { 2,
<0,1,2>,
<0,2,3>
}
inside_vector <0,0,1>
}
Post a reply to this message
|
|