|
![](/i/fill.gif) |
"Jim Kress" <nos### [at] kressworks com> wrote in message
news:3d373945$1@news.povray.org...
> > Do you have the face definitions with the co-ordinates?
>
> Yes, I have face definitions. All 40,000 of them.
>
> > text editor or a short program). If you have a list of vertices, and
> > then a list to define which vertices form each triangle, then the same
> > goes for a mesh2.
> >
>
> That's what I'm asking about. How do I build the pov syntax for a Mesh 2
> from the list of vertices and face definitions?
>
> Thanks.
>
> Jim
>
>
>
When you create the face_indices, you specify 3 textures (which are
specified in the texture_list), 1 corresponding to each vertex:
mesh2{
vertex_vectors{
n,
V1,V2,V3,...,Vn
}
texture_list{
m,
T1,T2,T3,...,Tm
}
face_indices{
f,
VV1, TV1,TV2,TV3, //<---3 textures per face (from texture_list)
VV2, TV1,TV2,TV3,
VV3, TV1,TV2,TV3,
...,
VVf ,TV1,TV2,TV3
}
}
-tgq
Post a reply to this message
|
![](/i/fill.gif) |