// Both Shoulders: only y & z active // Both feet: x rotation at knee, y = Foot x-axis rotation, z = Foot z-axis rotation // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 // L hand R hand L Uarm R Uamr L farm R farm head Lshoul Rshoul Chest Hips Lthigh Rthigh L foot Rfoot #declare Standing = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Walking = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <20,0,0>, <20,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <10,0,0>, <0,0,0>, <10,0,0>, <10,0,0>, <-20,0,0>, <-20,0,0> }; #declare Stride = array[15]{<0,0,0>, <0,0,0>, <-20,0,0>, <20,0,0>, <-30,0,0>, <30,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <40,0,0>, <-40,0,0>, <30,20,0>, <-30,-20,0> }; #declare Raise_hand = array[15]{<0,0,0>, <0,-80,0>, <0,0,0>, <90,0,0>, <0,0,0>, <200,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Hand_Forward = array[15]{<0,0,0>, <0,-70,0>, <0,0,0>, <0,0,0>, <0,0,0>, <120,-20,0>,<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Raise_Leg = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <100,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Squat = array[15]{<0,0,0>, <0,0,0>, <20,0,0>, <20,0,0>, <20,0,0>, <20,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <20,0,0>, <-20,0,0>, <75,0,0>, <75,0,0>, <-75,-30,0>,<-75,-30,0> }; #declare Look_down = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <45,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Look_side = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,45,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Head_side = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,45>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Lean_side = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,-45>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Bow = array[15]{<0,0,0>, <0,0,0>, <20,0,0>, <20,0,0>, <40,0,0>, <40,0,0>, <45,0,0>, <0,0,0>, <0,0,0>, <40,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Deep_Bow = array[15]{<0,0,0>, <0,0,0>, <20,0,0>, <20,0,0>, <80,0,0>, <80,0,0>, <45,0,0> , <0,0,0>, <0,0,0>, <90,0,0>, <50,0,0> <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Sitting = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <83,0,0>, <83,0,0>, <0,0,0>, <0,0,0> }; #declare Twist_Body = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,-20,0>, <0,-10,0>, <0,10,0>, <0,-40,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Lean_Forward = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <50,0,0>, <20,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Shrug_Shoulder= array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,20>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Leg_apart = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,45>, <0,0,0>, <0,0,0> }; #declare Tilt_Hips = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,-10>,<-20,0,20>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Spread_Arm = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <90,90,0>, <0,0,0>, <110,90,0>,<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Hand_on_Hip = array[15]{<0,0,0>, <0,0,-50>, <0,0,0>, <70,130,0>,<0,0,0>, <80,-80,0>,<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0> }; #declare Point_Toe = array[15]{<0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,0,0>, <0,60,0> }; #macro PUT(Start_Pos) #declare Stance = array[15]; #declare Stance = Start_Pos; #declare Is_Sitting = no ; #end #macro SIT(Seat_Height) #declare Stance = array[15] ; #declare Stance = Sitting; #declare Is_Sitting = yes ; #declare Seat_High = Seat_Height ; #end #macro AND(D,Pos) #local NewStance = array[15]; #for (N,0,14) #declare NewStance[N]=Stance[N]+Pos[N]*D; #end #declare Stance = NewStance; #end #macro LEFT(D,Pos) #local NewStance = array[15]; #declare NewStance[ 0]=Stance[ 0]+Pos[1]*D*<1,-1,-1>; #declare NewStance[ 1]=Stance[ 1]+Pos[0]*D; #declare NewStance[ 2]=Stance[ 2]+Pos[3]*D*<1,-1,-1>; #declare NewStance[ 3]=Stance[ 3]+Pos[2]*D; #declare NewStance[ 4]=Stance[ 4]+Pos[5]*D*<1,-1,-1>; #declare NewStance[ 5]=Stance[ 5]+Pos[4]*D; #declare NewStance[ 6]=Stance[ 6]+Pos[6]*D*<1,-1,-1>; #declare NewStance[ 7]=Stance[ 7]+Pos[8]*D; #declare NewStance[ 8]=Stance[ 8]+Pos[7]*D; #declare NewStance[ 9]=Stance[ 9]+Pos[ 9]*D*<1,-1,-1>; #declare NewStance[10]=Stance[10]+Pos[10]*D*<1,-1,-1>; #declare NewStance[11]=Stance[11]+Pos[12]*D*<1,1,-1>; #declare NewStance[12]=Stance[12]+Pos[11]*D; #declare NewStance[13]=Stance[13]+Pos[14]*D; #declare NewStance[14]=Stance[14]+Pos[13]*D*<1,-1,-1>; #declare Stance = NewStance; #end #macro BOTH(D,Pos) #local NewStance = array[15]; #declare NewStance[ 0]=Stance[ 0]+Pos[1]*D*<1,-1,-1>; #declare NewStance[ 1]=Stance[ 1]+Pos[1]*D; #declare NewStance[ 2]=Stance[ 2]+Pos[3]*D*<1,-1,-1>; #declare NewStance[ 3]=Stance[ 3]+Pos[3]*D; #declare NewStance[ 4]=Stance[ 4]+Pos[5]*D*<1,-1,-1>; #declare NewStance[ 5]=Stance[ 5]+Pos[5]*D; #declare NewStance[ 6]=Stance[ 6]+Pos[6]*D; #declare NewStance[ 7]=Stance[ 7]+Pos[8]*D; #declare NewStance[ 8]=Stance[ 8]+Pos[8]*D; #declare NewStance[ 9]=Stance[ 9]+Pos[ 9]*D; #declare NewStance[10]=Stance[10]+Pos[10]*D; #declare NewStance[11]=Stance[11]+Pos[12]*D*<1,-1,-1>; #declare NewStance[12]=Stance[12]+Pos[12]*D; #declare NewStance[13]=Stance[13]+Pos[14]*D*<1,-1,-1>; #declare NewStance[14]=Stance[14]+Pos[14]*D; #declare Stance = NewStance; #end #declare Tease = array[15]{<0,0,40>,<0,0,-40>,<56,-104,0>,<56,104,0>,<64,64,0>,<64,-64,0>,<0,30,0>,<0,15,0>,<0,-15,0>,<0,60,7>,<14,0,-14>,<0,0,-27>,<0,0,5>,<0,24,0>,<0,0,0>}