Mesh woman_model_low_1 {
112; (vertex number)
(vertex list)
0.483662;1.411170;5.595504;,
0.510341;1.318394;5.186752;,
-0.123294;1.316997;5.186419;,
-0.104347;1.385569;5.649803;,
1.099879;1.148729;5.470424;,
1.074264;1.143987;5.189803;,
1.663278;0.605925;4.565669;
............
110;(face number)
(face list that consist of a list of vertices, maybe triangle or quad ...)
4;3,2,1,0;,
4;0,1,5,4;,
4;7,4,5,6;,
4;11,10,9,8;,
4;14,6,13,12;,
4;18,17,16,15;,
.............
MeshMaterialList {
does support .x format support 4 vertices face?
I convert mesh file to .x format and show it right both in dxviewer and my .x viewer.but look at below:
if .x use 4 vertices to compose a face. how does .x load function do?(D3DXLoadMeshFromFile somthing like this)
video card must accept triangle . I think video card do not support quad or other face.
where is problem?
There's no problem. It creates 2 triangles and that's all.
(ex : from 0, 1, 2, 3 you create 0, 1, 2 and 1, 2, 3.)
(ex : from 0, 1, 2, 3 you create 0, 1, 2 and 1, 2, 3.)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement