Okay, now i use Panda 1.5.4
It seems i’m close when x2egg’ing my x file, but still it doesn’t work as i expected. I’ve tried some …2… converting tools of Panda before, and those just converted the file itself. But now when i use x2egg, the X file stays the same, and it looks like i get the egg code in my command prompt. The command prompt first gives a lot of vertexes, and then a lot of polygons. But if this is the .egg code i need, i have a problem, because the code exceeds the cmd maximum length again, so i can’t view the beginning of the code. this is the beginning of the command prompt when i do x2egg:
0 0 1 0
0 0 0 1
}
}
<Group> {
<VertexPool> vpool1 {
<Vertex> 0 {
5.99995 3.25431 -2.95833
<UV> { 0 0 }
<Normal> { 0 0 -1 }
}
<Vertex> 1 {
11.7499 9.17098 -2.95833
<UV> { 1 1 }
<Normal> { 0 0 -1 }
}
<Vertex> 2 {
5.99995 9.17098 -2.95833
<UV> { 0 1 }
<Normal> { 0 0 -1 }
Is that the absolute beginning? Or do i miss a lot. What do i need to do to make it work.
pview doesn’t show the x file, it looks like it’s loading for ever.
Here is the code of my x file, it’s just a block:
xof 0303txt 0032
template XSkinMeshHeader {
<3cf169ce-ff7c-44ab-93c0-f78f62d172e2>
WORD nMaxSkinWeightsPerVertex;
WORD nMaxSkinWeightsPerFace;
WORD nBones;
}
template VertexDuplicationIndices {
<b8d65549-d7c9-4995-89cf-53a9a8b031e3>
DWORD nIndices;
DWORD nOriginalVertices;
array DWORD indices[nIndices];
}
template SkinWeights {
<6f0d123b-bad2-4167-a0d0-80224f25fabb>
STRING transformNodeName;
DWORD nWeights;
array DWORD vertexIndices[nWeights];
array FLOAT weights[nWeights];
Matrix4x4 matrixOffset;
}
Frame Scene_Root {
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 0.000000, 1.000000;;
}
Frame Box01 {
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 0.000000, 1.000000;;
}
Mesh {
24;
5.999947;9.170975;-2.958333;,
5.999947;3.254308;-2.958333;,
11.749947;9.170975;-2.958333;,
11.749947;3.254308;-2.958333;,
11.749947;9.170975;-2.958333;,
11.749947;3.254308;-2.958333;,
11.749947;9.170975;2.958333;,
11.749947;3.254308;2.958333;,
11.749947;9.170975;2.958333;,
11.749947;3.254308;2.958333;,
5.999947;9.170975;2.958333;,
5.999947;3.254308;2.958333;,
5.999947;9.170975;2.958333;,
5.999947;3.254308;2.958333;,
5.999947;9.170975;-2.958333;,
5.999947;3.254308;-2.958333;,
5.999947;9.170975;-2.958333;,
11.749947;9.170975;-2.958333;,
5.999947;3.254308;-2.958333;,
11.749947;3.254308;-2.958333;,
5.999947;9.170975;2.958333;,
11.749947;9.170975;2.958333;,
5.999947;3.254308;2.958333;,
11.749947;3.254308;2.958333;;
12;
3;0,2,1;,
3;1,2,3;,
3;4,6,5;,
3;5,6,7;,
3;8,10,9;,
3;9,10,11;,
3;12,14,13;,
3;13,14,15;,
3;20,21,16;,
3;16,21,17;,
3;18,19,22;,
3;22,19,23;;
MeshNormals {
24;
0.000000;0.000000;-1.000000;,
0.000000;0.000000;-1.000000;,
0.000000;0.000000;-1.000000;,
0.000000;0.000000;-1.000000;,
1.000000;0.000000;0.000000;,
1.000000;0.000000;0.000000;,
1.000000;0.000000;0.000000;,
1.000000;0.000000;0.000000;,
0.000000;0.000000;1.000000;,
0.000000;0.000000;1.000000;,
0.000000;0.000000;1.000000;,
0.000000;0.000000;1.000000;,
-1.000000;0.000000;0.000000;,
-1.000000;0.000000;0.000000;,
-1.000000;0.000000;0.000000;,
-1.000000;0.000000;0.000000;,
0.000000;1.000000;0.000000;,
0.000000;1.000000;0.000000;,
0.000000;-1.000000;0.000000;,
0.000000;-1.000000;0.000000;,
0.000000;1.000000;0.000000;,
0.000000;1.000000;0.000000;,
0.000000;-1.000000;0.000000;,
0.000000;-1.000000;0.000000;;
12;
3;0,2,1;,
3;1,2,3;,
3;4,6,5;,
3;5,6,7;,
3;8,10,9;,
3;9,10,11;,
3;12,14,13;,
3;13,14,15;,
3;20,21,16;,
3;16,21,17;,
3;18,19,22;,
3;22,19,23;;
}
MeshTextureCoords {
24;
0.000000;0.000000;,
0.000000;1.000000;,
1.000000;0.000000;,
1.000000;1.000000;,
0.000000;0.000000;,
0.000000;1.000000;,
1.000000;0.000000;,
1.000000;1.000000;,
0.000000;0.000000;,
0.000000;1.000000;,
1.000000;0.000000;,
1.000000;1.000000;,
0.000000;0.000000;,
0.000000;1.000000;,
1.000000;0.000000;,
1.000000;1.000000;,
0.000000;1.000000;,
1.000000;1.000000;,
0.000000;0.000000;,
1.000000;0.000000;,
0.000000;0.000000;,
1.000000;0.000000;,
0.000000;1.000000;,
1.000000;1.000000;;
}
VertexDuplicationIndices {
24;
20;
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
12,
6,
13,
7;
}
MeshMaterialList {
1;
12;
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0;
Material DefaultMat {
0.800000;0.800000;0.800000;0.000000;;
0.000000;
0.000000;0.000000;0.000000;;
0.000000;0.000000;0.000000;;
}
}
}
}
}