JunkBox_Win_Lib 1.5.3
Loading...
Searching...
No Matches
NiBVHName.cpp
Go to the documentation of this file.
1
2#include "NiBVHName.h"
3
4using namespace jbxl;
5using namespace jbxwl;
6
7
12{
13 tList* lt = add_bvh_name(NULL, -1, "BVH Name List");
14 tList* pp = lt;
15
16 // NI: PELVIS, WAIST, TORSO, ....., R_TOE see NiJointsTool.cpp
17 for (int j=0; j<NI_NORML_JOINT_NUM; j++) {
18 pp = add_bvh_name(pp, j, (char*)NiJointName(j).c_str());
19 }
20
21 // SL/OS
22 pp = add_bvh_name(pp, NI_PELVIS, "mPelvis");
23 pp = add_bvh_name(pp, NI_TORSO, "mTorso");
24 pp = add_bvh_name(pp, NI_CHEST, "mChest");
25 pp = add_bvh_name(pp, NI_NECK, "mNeck");
26 pp = add_bvh_name(pp, NI_HEAD, "mHead");
27 pp = add_bvh_name(pp, NI_SKULL, "mSkull");
28 pp = add_bvh_name(pp, NI_L_EYE, "mEyeLeft");
29 pp = add_bvh_name(pp, NI_R_EYE, "mEyeRight");
30 pp = add_bvh_name(pp, NI_L_COLLAR, "mCollarLeft");
31 pp = add_bvh_name(pp, NI_L_SHLDR, "mShoulderLeft");
32 pp = add_bvh_name(pp, NI_L_ELBOW, "mElbowLeft");
33 pp = add_bvh_name(pp, NI_L_WRIST, "mWristLeft");
34 pp = add_bvh_name(pp, NI_R_COLLAR, "mCollarRight");
35 pp = add_bvh_name(pp, NI_R_SHLDR, "mShoulderRight");
36 pp = add_bvh_name(pp, NI_R_ELBOW, "mElbowRight");
37 pp = add_bvh_name(pp, NI_R_WRIST, "mWristRight");
38 pp = add_bvh_name(pp, NI_L_HIP, "mHipLeft");
39 pp = add_bvh_name(pp, NI_L_KNEE, "mKneeLeft");
40 pp = add_bvh_name(pp, NI_L_ANKLE, "mAnkleLeft");
41 pp = add_bvh_name(pp, NI_L_FOOT, "mFootLeft");
42 pp = add_bvh_name(pp, NI_L_TOE, "mToeLeft");
43 pp = add_bvh_name(pp, NI_R_HIP, "mHipRight");
44 pp = add_bvh_name(pp, NI_R_KNEE, "mKneeRight");
45 pp = add_bvh_name(pp, NI_R_ANKLE, "mAnkleRight");
46 pp = add_bvh_name(pp, NI_R_FOOT, "mFootRight");
47 pp = add_bvh_name(pp, NI_R_TOE, "mToeRight");
48
49 //
50 pp = add_bvh_name(pp, NI_PELVIS, "avatar_mPelvis");
51 pp = add_bvh_name(pp, NI_TORSO, "avatar_mTorso");
52 pp = add_bvh_name(pp, NI_CHEST, "avatar_mChest");
53 pp = add_bvh_name(pp, NI_NECK, "avatar_mNeck");
54 pp = add_bvh_name(pp, NI_HEAD, "avatar_mHead");
55 pp = add_bvh_name(pp, NI_SKULL, "avatar_mSkull");
56 pp = add_bvh_name(pp, NI_L_EYE, "avatar_mEyeLeft");
57 pp = add_bvh_name(pp, NI_R_EYE, "avatar_mEyeRight");
58 pp = add_bvh_name(pp, NI_L_COLLAR, "avatar_mCollarLeft");
59 pp = add_bvh_name(pp, NI_L_SHLDR, "avatar_mShoulderLeft");
60 pp = add_bvh_name(pp, NI_L_ELBOW, "avatar_mElbowLeft");
61 pp = add_bvh_name(pp, NI_L_WRIST, "avatar_mWristLeft");
62 pp = add_bvh_name(pp, NI_R_COLLAR, "avatar_mCollarRight");
63 pp = add_bvh_name(pp, NI_R_SHLDR, "avatar_mShoulderRight");
64 pp = add_bvh_name(pp, NI_R_ELBOW, "avatar_mElbowRight");
65 pp = add_bvh_name(pp, NI_R_WRIST, "avatar_mWristRight");
66 pp = add_bvh_name(pp, NI_L_HIP, "avatar_mHipLeft");
67 pp = add_bvh_name(pp, NI_L_KNEE, "avatar_mKneeLeft");
68 pp = add_bvh_name(pp, NI_L_ANKLE, "avatar_mAnkleLeft");
69 pp = add_bvh_name(pp, NI_L_FOOT, "avatar_mFootLeft");
70 pp = add_bvh_name(pp, NI_L_TOE, "avatar_mToeLeft");
71 pp = add_bvh_name(pp, NI_R_HIP, "avatar_mHipRight");
72 pp = add_bvh_name(pp, NI_R_KNEE, "avatar_mKneeRight");
73 pp = add_bvh_name(pp, NI_R_ANKLE, "avatar_mAnkleRight");
74 pp = add_bvh_name(pp, NI_R_FOOT, "avatar_mFootRight");
75 pp = add_bvh_name(pp, NI_R_TOE, "avatar_mToeRight");
76
77 // QAv
78 pp = add_bvh_name(pp, NI_PELVIS, "hip");
79 pp = add_bvh_name(pp, NI_TORSO, "abdomen");
80 pp = add_bvh_name(pp, NI_CHEST, "chest");
81 pp = add_bvh_name(pp, NI_NECK, "neck");
82 pp = add_bvh_name(pp, NI_HEAD, "head");
83 pp = add_bvh_name(pp, NI_L_COLLAR, "lCollar");
84 pp = add_bvh_name(pp, NI_L_SHLDR, "lShldr");
85 pp = add_bvh_name(pp, NI_L_ELBOW, "lForeArm");
86 pp = add_bvh_name(pp, NI_L_WRIST, "lHand");
87 pp = add_bvh_name(pp, NI_R_COLLAR, "rCollar");
88 pp = add_bvh_name(pp, NI_R_SHLDR, "rShldr");
89 pp = add_bvh_name(pp, NI_R_ELBOW, "rForeArm");
90 pp = add_bvh_name(pp, NI_R_WRIST, "rHand");
91 pp = add_bvh_name(pp, NI_L_HIP, "lThigh");
92 pp = add_bvh_name(pp, NI_L_KNEE, "lShin");
93 pp = add_bvh_name(pp, NI_L_FOOT, "lFoot");
94 pp = add_bvh_name(pp, NI_R_HIP, "rThigh");
95 pp = add_bvh_name(pp, NI_R_KNEE, "rShin");
96 pp = add_bvh_name(pp, NI_R_FOOT, "rFoot");
97
98 return lt;
99}
100
101
102
103tList* jbxwl::addBVHJointName(char* fname, tList* nl)
104{
105 tList* pp = dup_tList(nl);
106 tList* lt = pp;
107
108 tList* tl = read_index_tList_file(fname, ' ');
109 if (tl==NULL) return pp;
110
111 //
112 // PELVIS, WAIST, TORSO, ....., R_TOE see NiJointsTool.cpp
113 for (int j=0; j<NI_NORML_JOINT_NUM; j++) {
114 char* joint_name = get_str_param_tList(tl, (char*)NiJointName(j).c_str(), NULL);
115 if (joint_name!=NULL) {
116 pp = add_bvh_name(pp, j, joint_name);
117 free(joint_name);
118 }
119 }
120
121 del_tList(&tl);
122
123 return lt;
124}
125
126
127
128int jbxwl::BVHJoint2NiJointNum(tList* lt, Buffer joint_name)
129{
130 tList* pp = lt;
131
132 if (pp==NULL) return -1;
133
134 while(pp!=NULL) {
135 if (!strcasecmp((char*)joint_name.buf, (char*)pp->ldat.key.buf)) {
136 return pp->ldat.id;
137 }
138 pp = pp->next;
139 }
140
141 return -1;
142}
143
144
145
146
148// Hierarchy
149
151{
152 tTree* root = NULL;
153 tTree* chst = NULL;
154 tTree* head = NULL;
155 tTree* tree = NULL;
156
157 root = add_tTree_node_bystr(NULL, BVH_NODE_ROOT, 6, "hip", "PXPYPZRYRXRZ", NULL, 0);
158
159 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "abdomen", "RYRXRZ", NULL, 0);
160 chst = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "chest", "RYRXRZ", NULL, 0);
161
162 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "neck", "RYRXRZ", NULL, 0);
163 head = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "head", "RYRXRZ", NULL, 0);
164
165 tree = add_tTree_node_bystr(head, BVH_NODE_JOINT, 3, "mSkull", "RYRXRZ", NULL, 0);
166 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
167
168 tree = add_tTree_node_bystr(head, BVH_NODE_JOINT, 3, "mEyeLeft", "RYRXRZ", NULL, 0);
169 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
170
171 tree = add_tTree_node_bystr(head, BVH_NODE_JOINT, 3, "mEyeRight", "RYRXRZ", NULL, 0);
172 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
173
174 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "lCollar", "RYRXRZ", NULL, 0);
175 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lShldr", "RYRXRZ", NULL, 0);
176 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lForeArm", "RYRXRZ", NULL, 0);
177 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lHand", "RYRXRZ", NULL, 0);
178 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
179
180 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "rCollar", "RYRXRZ", NULL, 0);
181 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rShldr", "RYRXRZ", NULL, 0);
182 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rForeArm", "RYRXRZ", NULL, 0);
183 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rHand", "RYRXRZ", NULL, 0);
184 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
185
186 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "lThigh", "RYRXRZ", NULL, 0);
187 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lShin", "RYRXRZ", NULL, 0);
188 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "mAnkleLeft", "RYRXRZ", NULL, 0);
189 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lFoot", "RYRXRZ", NULL, 0);
190 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "mToeLeft", "RYRXRZ", NULL, 0);
191 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
192
193 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "rThigh", "RYRXRZ", NULL, 0);
194 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rShin", "RYRXRZ", NULL, 0);
195 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "mAnkleRight","RYRXRZ", NULL, 0);
196 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rFoot", "RYRXRZ", NULL, 0);
197 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "mToeRight", "RYRXRZ", NULL, 0);
198 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
199
200 return root;
201}
202
203
204
206{
207 tTree* root = NULL;
208 tTree* chst = NULL;
209 tTree* tree = NULL;
210
211 root = add_tTree_node_bystr(NULL, BVH_NODE_ROOT, 6, "hip", "PXPYPZRYRXRZ", NULL, 0);
212
213 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "abdomen", "RYRXRZ", NULL, 0);
214 chst = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "chest", "RYRXRZ", NULL, 0);
215
216 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "neck", "RYRXRZ", NULL, 0);
217 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "head", "RYRXRZ", NULL, 0);
218 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
219
220 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "lCollar", "RYRXRZ", NULL, 0);
221 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lShldr", "RYRXRZ", NULL, 0);
222 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lForeArm", "RYRXRZ", NULL, 0);
223 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lHand", "RYRXRZ", NULL, 0);
224 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
225
226 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "rCollar", "RYRXRZ", NULL, 0);
227 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rShldr", "RYRXRZ", NULL, 0);
228 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rForeArm", "RYRXRZ", NULL, 0);
229 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rHand", "RYRXRZ", NULL, 0);
230 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
231
232 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "lThigh", "RYRXRZ", NULL, 0);
233 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lShin", "RYRXRZ", NULL, 0);
234 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "lFoot", "RYRXRZ", NULL, 0);
235 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
236
237 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "rThigh", "RYRXRZ", NULL, 0);
238 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rShin", "RYRXRZ", NULL, 0);
239 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "rFoot", "RYRXRZ", NULL, 0);
240 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
241
242 return root;
243}
244
245
246
248{
249 tTree* root = NULL;
250 tTree* chst = NULL;
251 tTree* head = NULL;
252 tTree* tree = NULL;
253
254 root = add_tTree_node_bystr(NULL, BVH_NODE_ROOT, 6, "PELVIS", "PXPYPZRYRXRZ", NULL, 0);
255
256 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "WAIST", "RYRXRZ", NULL, 0);
257 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "TORSO", "RYRXRZ", NULL, 0);
258 chst = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "CHEST", "RYRXRZ", NULL, 0);
259
260 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "NECK", "RYRXRZ", NULL, 0);
261 head = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "HEAD", "RYRXRZ", NULL, 0);
262
263 tree = add_tTree_node_bystr(head, BVH_NODE_JOINT, 3, "SKULL", "RYRXRZ", NULL, 0);
264 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
265
266 tree = add_tTree_node_bystr(head, BVH_NODE_JOINT, 3, "L_EYE", "RYRXRZ", NULL, 0);
267 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
268 tree = add_tTree_node_bystr(head, BVH_NODE_JOINT, 3, "R_EYE", "RYRXRZ", NULL, 0);
269 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
270
271 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "L_BUST", "RYRXRZ", NULL, 0);
272 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
273 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "R_BUST", "RYRXRZ", NULL, 0);
274 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
275
276 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "L_COLLAR", "RYRXRZ", NULL, 0);
277 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_SHLDR", "RYRXRZ", NULL, 0);
278 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_ELBOW", "RYRXRZ", NULL, 0);
279 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_WRIST", "RYRXRZ", NULL, 0);
280 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_HAND", "RYRXRZ", NULL, 0);
281 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_FNGRTIP","RYRXRZ", NULL, 0);
282 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
283
284 tree = add_tTree_node_bystr(chst, BVH_NODE_JOINT, 3, "R_COLLAR", "RYRXRZ", NULL, 0);
285 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_SHLDR", "RYRXRZ", NULL, 0);
286 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_ELBOW", "RYRXRZ", NULL, 0);
287 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_WRIST", "RYRXRZ", NULL, 0);
288 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_HAND", "RYRXRZ", NULL, 0);
289 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_FNGRTIP","RYRXRZ", NULL, 0);
290 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
291
292 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "L_HIP", "RYRXRZ", NULL, 0);
293 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_KNEE", "RYRXRZ", NULL, 0);
294 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_ANKLE", "RYRXRZ", NULL, 0);
295 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_FOOT", "RYRXRZ", NULL, 0);
296 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "L_TOE", "RYRXRZ", NULL, 0);
297 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
298
299 tree = add_tTree_node_bystr(root, BVH_NODE_JOINT, 3, "R_HIP", "RYRXRZ", NULL, 0);
300 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_KNEE", "RYRXRZ", NULL, 0);
301 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_ANKLE", "RYRXRZ", NULL, 0);
302 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_FOOT", "RYRXRZ", NULL, 0);
303 tree = add_tTree_node_bystr(tree, BVH_NODE_JOINT, 3, "R_TOE", "RYRXRZ", NULL, 0);
304 tree = add_tTree_node_bystr(tree, BVH_NODE_END, 0, "Site", NULL, NULL, 0);
305
306 return root;
307}
308
309
310
311double _QAV_Offset[] =
312{
313 0.000000, 0.000000, 0.000000, // ROOT hip
314 0.000000, 3.422050, 0.000000, // JOINT abdomen
315 0.000000, 8.486693, -0.684411, // JOINT chest
316 0.000000, 10.266162, -0.273764, // JOINT neck
317 0.000000, 3.148285, 0.000000, // JOINT head
318 0.000000, 3.148289, 0.000000, // End Site
319 3.422053, 6.707223, -0.821293, // JOINT lCollar
320 3.285171, 0.000000, 0.000000, // JOINT lShldr
321 10.129278, 0.000000, 0.000000, // JOINT lForeArm
322 8.486692, 0.000000, 0.000000, // JOINT lHand
323 4.106464, 0.000000, 0.000000, // End Site
324 -3.558935, 6.707223, -0.821293, // JOINT rCollar
325 -3.148289, 0.000000, 0.000000, // JOINT rShldr
326 -10.266159, 0.000000, 0.000000, // JOINT rForeArm
327 -8.349810, 0.000000, 0.000000, // JOINT rHand
328 -4.106464, 0.000000, 0.000000, // End Site
329 5.338403, -1.642589, 1.368821, // JOINT lThigh
330 -2.053232, -20.121670, 0.000000, // JOINT lShin
331 0.000000, -19.300380, -1.231939, // JOINT lFoot
332 0.000000, -2.463878, 4.653993, // End Site
333 -5.338403, -1.642589, 1.368821, // OINT rThigh
334 2.053232, -20.121670, 0.000000, // JOINT rShin
335 0.000000, -19.300380, -1.231939, // JOINT rFoot
336 0.000000, -2.463878, 4.653993 // End Site
337};
338
339
340
341vector jbxwl::getQAvBVHOffset(int joint)
342{
343 vector vect;
344 memset(&vect, 0, sizeof(vect));
345
346 if (joint<0) return vect;
347
348 vect.x = _QAV_Offset[joint*3];
349 vect.y = _QAV_Offset[joint*3+1];
350 vect.z = _QAV_Offset[joint*3+2];
351
352 return vect;
353}
354
355
356
double _QAV_Offset[]
#define add_bvh_name(p, n, j)
Definition NiBVHName.h:17
#define NI_R_ELBOW
#define NI_PELVIS
#define NI_HEAD
#define NI_R_HIP
#define NI_R_KNEE
#define NI_R_FOOT
#define NI_TORSO
#define NI_L_SHLDR
#define NI_R_EYE
#define NI_L_FOOT
#define NI_R_SHLDR
#define NI_R_WRIST
#define NI_R_TOE
#define NI_L_HIP
#define NI_L_ANKLE
#define NI_L_WRIST
#define NI_R_COLLAR
#define NI_L_COLLAR
#define NI_CHEST
#define NI_R_ANKLE
#define NI_L_ELBOW
#define NI_NORML_JOINT_NUM
#define NI_L_TOE
#define NI_NECK
#define NI_L_KNEE
#define NI_SKULL
#define NI_L_EYE
std::string NiJointName(int n)
tTree * makeBVH_QAvHierarchy(void)
vector getQAvBVHOffset(int joint)
int BVHJoint2NiJointNum(tList *lt, Buffer joint_name)
tList * setBVHJointName(void)
Definition NiBVHName.cpp:11
tTree * makeBVH_SLHierarchy(void)
tList * addBVHJointName(char *fname, tList *lt)
tTree * makeBVH_NiHierarchy(void)