diff options
author | David Walter Seikel | 2016-03-29 02:16:55 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-29 02:16:55 +1000 |
commit | cb3716ffb584fe0f593b6f1669a8efdba1305104 (patch) | |
tree | 5d1ebc4b6fc17b30f4b34e7e64a2d9514893459b /src/others/mimesh/libg3d-0.0.8/plugins/import/imp_maya/imp_maya_chunks.h | |
parent | Add Prosody build script. (diff) | |
download | SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.zip SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.gz SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.bz2 SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.xz |
Added my version of libg3d and friends.
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/plugins/import/imp_maya/imp_maya_chunks.h')
-rw-r--r-- | src/others/mimesh/libg3d-0.0.8/plugins/import/imp_maya/imp_maya_chunks.h | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_maya/imp_maya_chunks.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_maya/imp_maya_chunks.h new file mode 100644 index 0000000..84997a9 --- /dev/null +++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_maya/imp_maya_chunks.h | |||
@@ -0,0 +1,130 @@ | |||
1 | /* $Id$ */ | ||
2 | |||
3 | /* | ||
4 | libg3d - 3D object loading library | ||
5 | |||
6 | Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de> | ||
7 | |||
8 | This library is free software; you can redistribute it and/or | ||
9 | modify it under the terms of the GNU Lesser General Public | ||
10 | License as published by the Free Software Foundation; either | ||
11 | version 2.1 of the License, or (at your option) any later version. | ||
12 | |||
13 | This library is distributed in the hope that it will be useful, | ||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | ||
17 | |||
18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | #ifndef _IMP_MAYA_CHUNKS_H | ||
23 | #define _IMP_MAYA_CHUNKS_H | ||
24 | |||
25 | #include <g3d/iff.h> | ||
26 | |||
27 | #include "imp_maya_callbacks.h" | ||
28 | |||
29 | static G3DIffChunkInfo maya_chunks[] = { | ||
30 | { "ATTR", "unknown", 0, NULL }, | ||
31 | { "AUDI", "audio", 1, NULL }, /* FOR4 */ | ||
32 | { "AUNI", "angle unit", 0, NULL }, | ||
33 | { "BRSH", "brush", 1, NULL }, /* FOR4 */ | ||
34 | { "CHNG", "changes", 0, NULL }, | ||
35 | { "CMP#", "unknown", 0, NULL }, | ||
36 | { "CMPD", "compound", 0, maya_cb_CMPD }, | ||
37 | { "CONN", "connection list", 1, NULL }, /* FOR4 */ | ||
38 | { "CONS", "construction", 1, NULL }, /* LIS4 */ | ||
39 | { "CWFL", "connect attr", 0, maya_cb_CWFL }, | ||
40 | { "CREA", "create node", 0, maya_cb_CREA }, | ||
41 | { "DBL#", "double #", 0, maya_cb_DBLn }, | ||
42 | { "DBL2", "double 2", 0, maya_cb_DBL2 }, | ||
43 | { "DBL3", "double 3", 0, maya_cb_DBL3 }, | ||
44 | { "DBLE", "double", 0, maya_cb_DBLE }, | ||
45 | { "DCAM", "camera", 1, NULL }, /* FOR4 */ | ||
46 | { "DECT", "delete component", 1, NULL }, /* FOR4 */ | ||
47 | { "DELA", "delete attribute", 1, NULL }, /* FOR4 */ | ||
48 | { "DELL", "delete list", 1, NULL }, /* LIS4 */ | ||
49 | { "DISC", "unknown", 0, NULL }, | ||
50 | { "DISL", "unknown", 1, NULL }, /* LIS4 */ | ||
51 | { "DMSH", "mesh", 1, maya_cb_DMSH }, | ||
52 | { "DMTI", "material info", 1, NULL }, /* FOR4 */ | ||
53 | { "DPLM", "layer manager", 1, NULL }, /* FOR4 */ | ||
54 | { "DSPL", "layer ?", 1, NULL }, /* FOR4 */ | ||
55 | { "FINF", "file information", 0, maya_cb_STR_ }, | ||
56 | { "FDFL", "flare ?", 1, NULL }, /* FOR4 */ | ||
57 | { "FLGS", "flags", 0, NULL }, | ||
58 | { "FLT2", "float 2", 0, NULL }, | ||
59 | { "FLT3", "float 3", 0, maya_cb_FLT3 }, | ||
60 | { "FMPT", "unknown", 1, NULL }, /* FOR4 */ | ||
61 | { "FNLD", "unknown", 1, NULL }, /* FOR4 */ | ||
62 | { "GPID", "group id", 1, NULL }, /* FOR4 */ | ||
63 | { "GRPP", "group parts", 1, NULL }, /* FOR4 */ | ||
64 | { "HEAD", "header", 1, NULL }, /* FOR4 */ | ||
65 | { "ICON", "icon", 0, NULL }, | ||
66 | { "INCL", "includes", 0, NULL }, | ||
67 | { "INFO", "information", 0, NULL }, | ||
68 | { "LUNI", "length unit", 0, NULL }, | ||
69 | { "MADE", "creation date", 0, NULL }, | ||
70 | { "MATR", "matrix", 0, maya_cb_MATR }, | ||
71 | { "MESH", "mesh", 0, maya_cb_MESH }, | ||
72 | { "NPLN", "unknown", 0, NULL }, | ||
73 | { "NRBS", "NURBS ?", 0, NULL }, | ||
74 | { "NSRF", "surface", 1, NULL }, /* FOR4 */ | ||
75 | { "OBJN", "unknown", 0, NULL }, | ||
76 | { "OBST", "unknown", 1, NULL }, /* FOR4 */ | ||
77 | { "PAUP", "poly auto proj", 1, NULL }, /* FOR4 */ | ||
78 | { "PBOP", "poly boolean operation", 1, NULL }, /* FOR4 */ | ||
79 | { "PBVL", "poly bevel", 1, NULL }, /* FOR4 */ | ||
80 | { "PCRE", "poly create face", 1, NULL }, /* FOR4 */ | ||
81 | { "PCTA", "poly rotate ?", 1, NULL }, /* FOR4 */ | ||
82 | { "PCTL", "poly translate ?", 1, NULL }, /* FOR4 */ | ||
83 | { "PCTU", "poly scale ?", 1, NULL }, /* FOR4 */ | ||
84 | { "PCUB", "poly cube", 1, maya_cb_PCUB }, | ||
85 | { "PCYL", "poly cylinder", 1, maya_cb_PCYL }, | ||
86 | { "PEXE", "poly extrude", 1, NULL }, /* FOR4 */ | ||
87 | { "PEXF", "poly extrude face", 1, NULL }, /* FOR4 */ | ||
88 | { "PFUV", "poly flip UV", 1, NULL }, /* FOR4 */ | ||
89 | { "PING", "unknown", 1, NULL }, /* FOR4 */ | ||
90 | { "PLUG", "plugin ?", 0, NULL }, | ||
91 | { "PMIR", "poly mirror", 1, NULL }, /* FOR4 */ | ||
92 | { "PMVE", "poly merge vertices", 1, NULL }, /* FOR4 */ | ||
93 | { "PPCT", "poly cut", 1, NULL }, /* FOR4 */ | ||
94 | { "PPIP", "poly pipe", 1, NULL }, /* FOR4 */ | ||
95 | { "PRNS", "unknown", 0, NULL }, | ||
96 | { "PRNT", "unknown", 0, NULL }, | ||
97 | { "PSEP", "poly separate", 1, NULL }, /* FOR4 */ | ||
98 | { "PSMF", "poly smooth face", 1, NULL }, /* FOR4 */ | ||
99 | { "PSOE", "poly soft edge", 1, NULL }, /* FOR4 */ | ||
100 | { "PSPH", "poly sphere", 1, NULL }, /* FOR4 */ | ||
101 | { "PSPL", "poly split", 1, NULL }, /* FOR4 */ | ||
102 | { "PTRI", "poly triangulate", 1, NULL }, /* FOR4 */ | ||
103 | { "PTUV", "poly tweak UV", 1, NULL }, /* FOR4 */ | ||
104 | { "PTWK", "poly tweak", 1, NULL }, /* FOR4 */ | ||
105 | { "PUNI", "poly unite", 1, NULL }, /* FOR4 */ | ||
106 | { "RANI", "anisotropic", 1, NULL }, /* FOR4 */ | ||
107 | { "RBLN", "unknown", 1, NULL }, /* FOR4 */ | ||
108 | { "RLAM", "lambert", 1, NULL }, /* FOR4 */ | ||
109 | { "RLLK", "light linker", 1, NULL }, /* FOR4 */ | ||
110 | { "RNDL", "render layer", 1, NULL }, /* FOR4 */ | ||
111 | { "RNLM", "render layer manager", 1, NULL }, /* FOR4 */ | ||
112 | { "RPHO", "phong ?", 1, NULL }, /* FOR4 */ | ||
113 | { "RPL2", "place texture", 1, NULL }, /* FOR4 */ | ||
114 | { "RPLD", "place texture", 1, NULL }, /* FOR4 */ | ||
115 | { "RPRJ", "projection", 1, NULL }, /* FOR4 */ | ||
116 | { "RTFT", "texture file", 1, NULL }, /* FOR4 */ | ||
117 | { "SCRP", "script", 1, NULL }, /* FOR4 */ | ||
118 | { "SHAD", "shadow", 1, NULL }, /* FOR4 */ | ||
119 | { "SLCT", "select", 0, NULL }, /* evil ;) */ | ||
120 | { "STR ", "string", 0, maya_cb_STR_ }, | ||
121 | { "TGEO", "transform geometry", 1, NULL }, /* FOR4 */ | ||
122 | { "TUNI", "time unit", 0, NULL }, | ||
123 | { "UVER", "minor version?", 0, NULL }, | ||
124 | { "VERS", "version", 0, NULL }, | ||
125 | { "XFRM", "transformation", 1, maya_cb_XFRM }, | ||
126 | |||
127 | { NULL, NULL, 0, NULL } | ||
128 | }; | ||
129 | |||
130 | #endif /* _IMP_MAYA_CHUNKS_H */ | ||