1) Is similar to A3D but isn't A3D
2) now a haven't plan for how to make LEVEL, for now i have writed exporter to my f3da format from Maya. F3DA file format is very simple:
Code:
[+O]<str>:pCubeShape1;
[+CF]<int>:12;
[+CV]<int>:8;
[-O]<str>:Create;
[+F]<int>:0;
[vA]<v3f>:-0.5|-0.5|0.5;
[vB]<v3f>:0.5|-0.5|0.5;
[vC]<v3f>:-0.5|0.5|0.5;
[cA]<c4f>:1|1|1|1;
[cB]<c4f>:1|1|1|1;
[cC]<c4f>:1|1|1|1;
[nA]<v3f>:0|0|1;
[nB]<v3f>:0|0|1;
[nC]<v3f>:0|0|1;
[tA]<v3f>:1|0|0;
[tB]<v3f>:1|0|0;
[tC]<v3f>:1|0|0;
[bA]<v3f>:0|1|0;
[bB]<v3f>:0|1|0;
[bC]<v3f>:0|1|0;
[uv0A]<v2f>:0|0;
[uv0B]<v2f>:1|0;
[uv0C]<v2f>:0|1;
[mat]<str>:mat_cube;
[-F]<str>:Create;
[+F]<int>:1;
[vA]<v3f>:0.5|-0.5|0.5;
[vB]<v3f>:0.5|0.5|0.5;
[vC]<v3f>:-0.5|0.5|0.5;
[cA]<c4f>:1|1|1|1;
[cB]<c4f>:1|1|1|1;
[cC]<c4f>:1|1|1|1;
[nA]<v3f>:0|0|1;
[nB]<v3f>:0|0|1;
[nC]<v3f>:0|0|1;
[tA]<v3f>:1|0|0;
[tB]<v3f>:1|0|0;
[tC]<v3f>:1|0|0;
[bA]<v3f>:0|1|0;
[bB]<v3f>:0|1|0;
[bC]<v3f>:0|1|0;
[uv0A]<v2f>:1|0;
[uv0B]<v2f>:1|1;
[uv0C]<v2f>:0|1;
[mat]<str>:mat_cube;
[-F]<str>:Create;
[+F]<int>:2;
[vA]<v3f>:-0.5|0.5|0.5;
[vB]<v3f>:0.5|0.5|0.5;
[vC]<v3f>:-0.5|0.5|-0.5;
[cA]<c4f>:1|1|1|1;
[cB]<c4f>:1|1|1|1;
[cC]<c4f>:1|1|1|1;
[nA]<v3f>:0|1|0;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|0;
[tC]<v3f>:1|0|0;
[bA]<v3f>:0|0|-1;
[bB]<v3f>:0|1|0;
[bC]<v3f>:0|1|0;
[uv0A]<v2f>:-1|0;
[uv0B]<v2f>:0|0;
[uv0C]<v2f>:-1|1;
[mat]<str>:mat_cube;
[-F]<str>:Create;
[+F]<int>:11;
[vA]<v3f>:-0.5|-0.5|0.5;
[vB]<v3f>:-0.5|0.5|0.5;
[vC]<v3f>:-0.5|0.5|-0.5;
[cA]<c4f>:1|1|1|1;
[cB]<c4f>:1|1|1|1;
[cC]<c4f>:1|1|1|1;
[nA]<v3f>:-1|0|0;
[nB]<v3f>:-1|0|0;
[nC]<v3f>:-1|0|0;
[tA]<v3f>:1|0|0;
[tB]<v3f>:1|0|0;
[tC]<v3f>:1|0|0;
[bA]<v3f>:0|1|0;
[bB]<v3f>:0|1|0;
[bC]<v3f>:0|1|0;
[uv0A]<v2f>:0|0;
[uv0B]<v2f>:0|1;
[uv0C]<v2f>:-1|1;
[mat]<str>:mat_cube;
[-F]<str>:Create;
Description:
Code:
[+O] object name
[+CF] faces count
[+CV] vertex count
[-O] end of object definition
[+F] start face[n]
[vA] vertex A
[vB] vertex B
[vC] vertex C
[cA] color A
[cB] color B
[cC] color C
[nA] normal A
[nB] normal B
[nC] normal C
[tA] tanget A
[tB] tanget B
[tC] tanget C
[bA] binormal A
[bB] binormal B
[bC] binormal C
[uv0A] uv set 0 A
[uv0B] uv set 0 B
[uv0C] uv set 0 C
[mat] materil name for face
[-F] end face definition
....
3) CodeGear and Delphi7 compilation works good on both.
Bookmarks