浏览代码

bone names

sunag 7 年之前
父节点
当前提交
b576d08b43
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      examples/webgl_loader_sea3d_bvh.html

+ 2 - 1
examples/webgl_loader_sea3d_bvh.html

@@ -118,7 +118,7 @@
 					preservePosition: false,
 					preservePosition: false,
 					useFirstFramePosition: true,
 					useFirstFramePosition: true,
 					hip: "Base HumanPelvis",
 					hip: "Base HumanPelvis",
-					// compensates the difference in skeletons ( T-Pose )
+					// left is SEA3D bone names and right BVH bone names
 					names: {
 					names: {
 						"Base HumanPelvis": "hip",
 						"Base HumanPelvis": "hip",
 						"Base HumanSpine3": "abdomen",
 						"Base HumanSpine3": "abdomen",
@@ -141,6 +141,7 @@
 						"Base HumanLCalf1": "lShin",
 						"Base HumanLCalf1": "lShin",
 						"Base HumanLFoot": "lFoot"
 						"Base HumanLFoot": "lFoot"
 					},
 					},
+					// compensates the difference in skeletons ( T-Pose )
 					offsets: {
 					offsets: {
 						"lShldr": new THREE.Matrix4().makeRotationFromEuler(
 						"lShldr": new THREE.Matrix4().makeRotationFromEuler(
 							new THREE.Euler(
 							new THREE.Euler(