home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2000 July
/
VPR0007A.BIN
/
OLS
/
IDINA101
/
idina101.lzh
/
mesh
/
ast.x
< prev
next >
Wrap
Text File
|
1999-11-22
|
5KB
|
263 lines
xof 0303txt 0032
template Header {
<3d82ab43-62da-11cf-ab39-0020af71e433>
WORD major;
WORD minor;
DWORD flags;
}
template Vector {
<3d82ab5e-62da-11cf-ab39-0020af71e433>
FLOAT x;
FLOAT y;
FLOAT z;
}
template Coords2d {
<f6f23f44-7686-11cf-8f52-0040333594a3>
FLOAT u;
FLOAT v;
}
template Matrix4x4 {
<f6f23f45-7686-11cf-8f52-0040333594a3>
array FLOAT matrix[16];
}
template ColorRGBA {
<35ff44e0-6c7c-11cf-8f52-0040333594a3>
FLOAT red;
FLOAT green;
FLOAT blue;
FLOAT alpha;
}
template ColorRGB {
<d3e16e81-7835-11cf-8f52-0040333594a3>
FLOAT red;
FLOAT green;
FLOAT blue;
}
template IndexedColor {
<1630b820-7842-11cf-8f52-0040333594a3>
DWORD index;
ColorRGBA indexColor;
}
template Boolean {
<537da6a0-ca37-11d0-941c-0080c80cfa7b>
DWORD truefalse;
}
template Boolean2d {
<4885ae63-78e8-11cf-8f52-0040333594a3>
Boolean u;
Boolean v;
}
template MaterialWrap {
<4885ae60-78e8-11cf-8f52-0040333594a3>
Boolean u;
Boolean v;
}
template TextureFilename {
<a42790e1-7810-11cf-8f52-0040333594a3>
STRING filename;
}
template Material {
<3d82ab4d-62da-11cf-ab39-0020af71e433>
ColorRGBA faceColor;
FLOAT power;
ColorRGB specularColor;
ColorRGB emissiveColor;
[...]
}
template MeshFace {
<3d82ab5f-62da-11cf-ab39-0020af71e433>
DWORD nFaceVertexIndices;
array DWORD faceVertexIndices[nFaceVertexIndices];
}
template MeshFaceWraps {
<ed1ec5c0-c0a8-11d0-941c-0080c80cfa7b>
DWORD nFaceWrapValues;
array Boolean2d faceWrapValues[nFaceWrapValues];
}
template MeshTextureCoords {
<f6f23f40-7686-11cf-8f52-0040333594a3>
DWORD nTextureCoords;
array Coords2d textureCoords[nTextureCoords];
}
template MeshMaterialList {
<f6f23f42-7686-11cf-8f52-0040333594a3>
DWORD nMaterials;
DWORD nFaceIndexes;
array DWORD faceIndexes[nFaceIndexes];
[Material <3d82ab4d-62da-11cf-ab39-0020af71e433>]
}
template MeshNormals {
<f6f23f43-7686-11cf-8f52-0040333594a3>
DWORD nNormals;
array Vector normals[nNormals];
DWORD nFaceNormals;
array MeshFace faceNormals[nFaceNormals];
}
template MeshVertexColors {
<1630b821-7842-11cf-8f52-0040333594a3>
DWORD nVertexColors;
array IndexedColor vertexColors[nVertexColors];
}
template Mesh {
<3d82ab44-62da-11cf-ab39-0020af71e433>
DWORD nVertices;
array Vector vertices[nVertices];
DWORD nFaces;
array MeshFace faces[nFaces];
[...]
}
Header {
1;
0;
1;
}
Mesh {
27;
-0.359163;-1.202178;-1.664571;,
-0.715325;-1.832685;-1.403262;,
-1.110405;-1.392254;-1.548795;,
-0.061811;-2.114227;-1.093651;,
-0.565799;0.070732;-1.580033;,
-1.467031;-0.315675;-1.391911;,
-0.754607;0.656019;-1.040976;,
1.188356;-0.831428;-0.809447;,
1.045398;-1.206394;-0.406295;,
1.137529;-1.025722;0.021934;,
0.503033;0.802561;-1.624397;,
1.548645;0.586767;-0.909246;,
-0.325554;1.268443;-0.381428;,
1.187944;0.972020;0.240605;,
-1.507512;-1.831758;-0.362085;,
-0.664958;-2.286297;0.022977;,
-1.414666;-1.503301;0.289530;,
-1.872258;-0.310214;-0.691870;,
-1.357753;0.483948;0.075652;,
-1.621304;-0.230390;0.374068;,
0.400701;-1.390318;0.787258;,
0.727262;-1.304311;0.559074;,
0.007954;-1.282710;1.091951;,
-0.243514;1.337722;0.441840;,
0.590357;0.854850;1.185080;,
-1.155620;0.329366;1.446331;,
0.040777;0.156592;1.882324;;
50;
3;24,21,9;,
3;13,24,9;,
3;26,21,24;,
3;22,21,26;,
3;13,9,11;,
3;11,9,7;,
3;12,23,24;,
3;12,24,13;,
3;25,24,23;,
3;12,13,10;,
3;26,24,25;,
3;10,13,11;,
3;22,26,25;,
3;10,11,7;,
3;20,21,22;,
3;7,9,8;,
3;20,8,9;,
3;21,20,9;,
3;6,18,23;,
3;6,23,12;,
3;23,18,25;,
3;25,18,19;,
3;10,6,12;,
3;4,6,10;,
3;25,19,22;,
3;22,19,16;,
3;7,4,10;,
3;0,4,7;,
3;22,16,15;,
3;20,22,15;,
3;3,0,7;,
3;3,7,8;,
3;20,15,3;,
3;8,20,3;,
3;17,18,5;,
3;5,18,6;,
3;17,19,18;,
3;4,5,6;,
3;15,16,14;,
3;1,0,3;,
3;15,14,1;,
3;3,15,1;,
3;1,2,0;,
3;16,19,17;,
3;14,16,17;,
3;5,4,0;,
3;5,0,2;,
3;1,14,2;,
3;14,17,5;,
3;2,14,5;;
MeshMaterialList {
1;
1;
0;
Material {
0.819608;0.819608;0.819608;1.000000;;
3.000000;
1.000000;1.000000;1.000000;;
0.000000;0.000000;0.000000;;
TextureFilename {
"ast.bmp";
}
}
}
MeshTextureCoords {
27;
0.539063;0.996094;,
0.429688;0.886719;,
0.625000;0.511719;,
0.585938;0.230469;,
0.484375;0.496094;,
1.000000;0.300781;,
1.000000;0.730469;,
1.000000;0.675781;,
0.492188;0.753906;,
0.484375;0.000000;,
1.000000;0.000000;,
0.382813;0.558594;,
0.562500;0.312500;,
0.804688;0.707031;,
0.132813;0.000000;,
0.000000;0.832031;,
0.570313;0.675781;,
0.773438;0.000000;,
0.484375;0.503906;,
0.195313;0.000000;,
1.000000;1.000000;,
0.000000;0.000000;,
0.687500;0.027344;,
0.460938;1.000000;,
0.089844;1.000000;,
0.000000;0.406250;,
0.390625;0.613281;;
}
}