forked from mrwonko/Blender-Jedi-Academy-Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
27 lines (23 loc) · 764 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
global g_defaultSkeleton - true if default skeleton, used in mrw_g2_glm for export.
gla export with existing skeleton: basically load file without animations, then add those and save.
weights:
* by group:
* mesh.vertices[n].groups[n].(group|weight)
* group is index into object.vertex_groups
* object.vertex_groups[index].name is the only interesting thing, methinks.
* by bone:
* ???
fromBlender() can FAIL!
export:
* Skeleton:
* check if bones match specification, if any
* save bones
* save animations
* create dictionary of parent bones (once)
* somehow calculate correct offset
* list of compBones
* dict of compBone -> listIndex
* Mesh:
* create bone dictionary
* make sure bone dictionary keys = bone names in models
* todo