forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnodes.json
56 lines (56 loc) · 1.85 KB
/
nodes.json
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"nodes" : {
"meshes_node_id": {
"children": [],
"matrix": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ],
"meshes": [
"mesh_id"
],
"name": "user-defined name of meshes node",
"extensions" : {
"extension_name" : {
"extension specific" : "value"
}
},
"extras" : {
"Application specific" : "The extra object can contain any properties."
}
},
"trs_node_id": {
"children": ["meshes_node_id"],
"meshes": [
"mesh_id"
],
"name": "user-defined name of trs node",
"rotation" : [ 1.0, 0.0, 0.0, 0.0 ],
"scale" : [ 1.0, 1.0, 1.0 ],
"translation" : [ 0.0, 0.0, 0.0 ]
},
"camera_node_id": {
"camera": "camera_id",
"children": [],
"matrix": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ],
"name": "user-defined name of camera node"
},
"skin_node_id": {
"children": [],
"meshes": [
"skin_mesh_id"
],
"skeletons": [
"joint id in skin"
],
"skin": "skin_id",
"matrix": [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ],
"name": "user-defined name of skin node"
},
"joint_node_id": {
"children": [],
"jointName": "joint name",
"name": "user-defined name of joint node",
"rotation" : [ 1.0, 0.0, 0.0, 0.0 ],
"scale" : [ 1.0, 1.0, 1.0 ],
"translation" : [ 0.0, 0.0, 0.0 ]
}
}
}