2
2
(
3
3
defaultPrim = "main"
4
4
metersPerUnit = 0.01
5
+ startTimeCode = 1
6
+ endTimeCode = 24
5
7
upAxis = "Y"
6
8
)
7
9
@@ -33,11 +35,11 @@ def SkelRoot "main" (
33
35
interpolation = "vertex"
34
36
)
35
37
uniform token[] skel:joints = ["joint1"]
36
- rel skel:skeleton = </main/joint1 >
38
+ rel skel:skeleton = </main/skel >
37
39
uniform token subdivisionScheme = "none"
38
40
}
39
41
40
- def Skeleton "joint1 " (
42
+ def Skeleton "skel " (
41
43
prepend apiSchemas = ["SkelBindingAPI"]
42
44
customData = {
43
45
dictionary Maya = {
@@ -46,10 +48,10 @@ def SkelRoot "main" (
46
48
}
47
49
)
48
50
{
49
- uniform matrix4d[] bindTransforms = [( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) )]
50
- uniform token[] joints = ["joint1"]
51
- uniform matrix4d[] restTransforms = [( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) )]
52
- rel skel:animationSource = </main/joint1 /anim>
51
+ uniform matrix4d[] bindTransforms = [( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ), ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) ]
52
+ uniform token[] joints = ["joint1", "joint2" ]
53
+ uniform matrix4d[] restTransforms = [( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ), ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) ]
54
+ rel skel:animationSource = </main/skel /anim>
53
55
54
56
def SkelAnimation "anim"
55
57
{
0 commit comments