Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
SOG.h
1 //
2 // SOG.h
3 //
4 // Header for Simple Open Geometry format
5 //
6 
7 #ifndef SOGH
8 #define SOGH
9 
10 #define SOG_VERSION 1
11 #define SOG_HEADER "SOGF"
12 
13 //
14 // Tokens: do NOT remove or reorder these values, or
15 // backward/forward compatibility breaks. New tokens
16 // may be added at the end of the list.
17 //
18 enum FileToken
19 {
20  FT_VERSION = 1,
21  FT_NUM_MATERIALS,
22  FT_NUM_GEOMETRIES,
23 
24  FT_GEOMETRY,
25  FT_GEOMNAME,
26  FT_GEOMID,
27  FT_GEOMPARENTID,
28 
29  FT_NUM_MESHES,
30 
31  FT_MATERIAL,
32  FT_MESH,
33 
34  FT_DIFFUSE,
35  FT_SPECULAR,
36  FT_AMBIENT,
37  FT_EMISSION,
38  FT_CULLING,
39  FT_LIGHTING,
40  FT_TRANSPARENT,
41  FT_IMAGEFNAME,
42  FT_CLAMP,
43 
44  FT_MAT_INDEX,
45  FT_VTX_FLAGS,
46  FT_PRIM_TYPE,
47  FT_NUM_VERTICES,
48  FT_NUM_INDICES,
49  FT_NUM_PRIMITIVES,
50  FT_VTX_COMPONENTS,
51 
52  FT_VTX_ARRAY,
53  FT_VTX_DATA,
54  FT_VTX_POS,
55  FT_VTX_NORMAL,
56  FT_VTX_COLOR,
57  FT_VTX_COORD1,
58  FT_VTX_COORD2,
59  FT_INDEX_ARRAY,
60  FT_PRIM_LEN_ARRAY
61 };
62 
63 #endif // SOGH
64