Skip to content

SMPL joint mappings used for generating gif #10

@sinapy

Description

@sinapy

We couldn't find the SMPL mapping with 69 joints on the internet. So we tried each one to know what they are. We were also a bit new to the SMPL. Just wanted to share them here.

# these numbers are radians so 3 is about 178% of rotation
# self.body_pose[0, 0] = 1.5  # LEFT LEG Back_Forward : Moves the leg back or forward, positive for back and negative for forward
# self.body_pose[0, 1] = -1  # LEFT LEG ROTATE: Rotate the whole leg negative for inward, positive for outward
# self.body_pose[0, 2] = 6.28 # LEFT LEG Sideways : Moving the leg sideways, positive for outward
# self.body_pose[0, 3] = -1.5 # RIGHT LEG Back_Forward: Moves the leg back or forward, postiive for back and negative for forward
# self.body_pose[0, 4] = 1.5 # RIGHT LEG ROTATE: Rotate the whole leg, positive for inward, and negative for outward
# self.body_pose[0, 5] = -1.5 # RIGHT LEG Sideways : Moving the leg sideways, negative for outward, positive for inward
# self.body_pose[0, 6] = -1.5 # Bow Lower back : positive for bow, negative for almost backflip
# self.body_pose[0, 7] = 1.5 # Rotate upper body (lower back) Y axis (look left or right): positive for left and negative for right
# self.body_pose[0, 8] = -1.5 # Rotate upper body (lower back) Z axis aka sideways: positive for right and negative for left
# self.body_pose[0, 9] = 1.5 # LEFT LEG X axis knee bend: positive for back, and negative for forward 
# self.body_pose[0, 10] = 1.5 # LEFT LEG Y axis knee rotation (knee and below knee parts): positive for outward, negative for inward
# self.body_pose[0, 11] = 1.5 # LEFT LEG Z axis knee rotation sideways: positive for outward, negative for inward
# self.body_pose[0, 12] = 1.5 # RIGHT LEG X axis knee bend: positive for back and negative for forward (negative is not recommended)
# self.body_pose[0, 13] = 1.5 # RIGHT LEG Y axis knee rotation (knee and below parts): positive for inward, negative for outward
# self.body_pose[0, 14] = 1.5 # RIGHT LEG Z axis knee rotation sideways: positive for inward, negative for outward
# self.body_pose[0, 15] = 1.5 # BOW Upper back : positive for bow, negative for bandari dance
# self.body_pose[0, 16] = 1.5 # Upper back rotate Y axis (looking left and right): positive for left and negative for right
# self.body_pose[0, 17] = 1.5 # Upper back rotate Z axis (sideways): positive for right, negative for left
# self.body_pose[0, 18] = -1.2 # LEFT ANKLE X axis (do ballet move or the move you do to look taller): positive for down, negative for up
# self.body_pose[0, 19] = 1.5 # LEFT ANKLE Y axis rotation: positive for outward, negative for inward
# self.body_pose[0, 20] = -1.5 # LEFT ANKLE Z axis rotation sideways: positive for outward, negative for inward
# self.body_pose[0, 21] = 1.5 # RIGHT ANKLE X axis (do ballet move): positive for down, and negative for up
# self.body_pose[0, 22] = 1.5 # RIGHT ANKLE Y axis rotation: positive for inward, negative for outward
# self.body_pose[0, 23] = 1.5 # RIGHT ANKLE Z axis rotation (sideways): positive for inward, and negative for outward
# self.body_pose[0, 24] = 1.5 # BOW Double upper back : positive for bow, negative for looking up to sky
# self.body_pose[0, 25] = 1.5 # Double upper back rotate Y axis (lokking left and right): positive for left and negative for right
# self.body_pose[0, 26] = 1.5 # Double upper back rotate Z axis (sideways): positive for right side and negative for left side
# self.body_pose[0, 27] = 1.5 # LEFT TOES UP DOWN X axis : positive for down and negative for up
# self.body_pose[0, 28] = -1.5 # LEFT TOES LEFT RIGHT Y axis: positive for outward, negative for inward
# self.body_pose[0, 29] = 1.5 # LEFT TOES sideways Z axis: positive for outward, negative for inward
# self.body_pose[0, 30] = 1.5 # RIGHT TOES UP DOWN X axis : positive for down, negative for up
# self.body_pose[0, 31] = 1.5 # RIGHT TOES LEFT RIGHT Y axis : positive for inward, negative for outward
# self.body_pose[0, 32] = 1.5 # RIGHT TOES Sideways Z axis : positive for inward, negative for outward
# self.body_pose[0, 33] = 1.5 # LOWER NECK FORWARD X axis : positive for down  and negative for up
# self.body_pose[0, 34] = 1.5  # ROTATE LOWER NECK (sideways) Y axis : positive for left and negative for right
# self.body_pose[0, 35] = 1.5 # LOWER NECK like scary movie scary characters TILT: positive for right, negative for left
# self.body_pose[0, 36] = 1.5 # LEFT SHOULDER JOIN WITH SHOULDER HAND ROTATE X axis: positive for inward, negative for outward
# self.body_pose[0, 37] = 1.5 # LEFT SHOULDER JOIN WITH SHOULDER ROTATE Y axis back / forward : positive for back and negative for forward
# self.body_pose[0, 38] = 1.5 # LEFT SHOULD JOINT ROTATE Z axis side ways (up / down) : positive for up and negative for down
# self.body_pose[0, 39] = 1.5 # RIGHT SHOULDER JOINT ROTATE ROTATE X axis: positive for inward and negative for outward
# self.body_pose[0, 40] = 1.5 # RIGHT SHOULDER JOINT ROTATE Y axis back /forward : positive for forward, and negative for backward
# self.body_pose[0, 41] = 1.5 # RIGHT SHOULDER JOINT ROTATE Z axis up / down: positive for down, negative for up
# self.body_pose[0, 42] = -1.5 # UPPER NECK (face) front and back Rotate X axis : positive for front, negative for back looking at sky
# self.body_pose[0, 43] = 1.5 # UPPER NECK (face) left right look. Rotation Y axis: positive for left and negative for right
# self.body_pose[0, 44] = 1.5 # Upper NECK (face) side to side . Rotation on Z axis: positive for right, negative for left
# self.body_pose[0, 45] = 1.5 # LEFT SHOULDER JOINT WITHOUT SHOLDER ROTATE X axis: positive for inward, negative for outward
# self.body_pose[0, 46] = 1.5 # LEFT SHOULDER JOINT WITHOUT SHOLDER ROTATE Y axis back / forward : positive for back and negative for forward
# self.body_pose[0, 47] = 1.5 # LEFT SHOULDER JOINT WITHOUT SHOULDER ROTATE Z axis up/ down: positive for up and negative for down
# self.body_pose[0, 48] = 1.4 # RIGHT SHOULDER JOINT WITHOUT SHOULDER (FOREARM?) ROTATE X axis inward /outward: positive for inward, negative for outward
# self.body_pose[0, 49] = 1.5 # RIGHT SHOULDER JOINT WITHOUT SHOULDER forward /backward rotate Y axis : positive for forward, negative for backward
# self.body_pose[0, 50] = 1.5 # RIGHT SHOULDER JOINT WITHOUT SHOULDER up / down Rotate Z axis : positive for down, negative for up
# self.body_pose[0, 51] = 1.5 # LEFT PALM FORARM ROTATE X axis positive for inward, negative for outward
# self.body_pose[0, 52] = 1.5 # LEFT HAND FORARM ROTATE Y axis back forward : positive for back, negative for forward
# self.body_pose[0, 53] = 1.5 # LEFT HAND ROTATE Z axis up down : positive for up and negative for down
# self.body_pose[0, 54] = 1.5 # RIGHT FOREARM ROTATE X axis : positive for inward, negative for outward
# self.body_pose[0, 55] = 1.5 # RIGHT FOREARM ROTATE Y axis back / forward : positive for inward (forward), negative for outward (backward)
# self.body_pose[0, 56] = 1.6 # RIGH FORARM ROTATE Z axis up / down : positive for down and negative for up
# self.body_pose[0, 57] = 1.5 # LEFT PALM ROTATE X axis : positive for inward and negative for outward
# self.body_pose[0, 58] = 1.5 # LEFT PALM ROTATE Y axis : positive for back, negative for forward
# self.body_pose[0, 59] = 1.5 # LEFT PALM ROTATE Z axis : positive for up and negative for down
# self.body_pose[0, 60] = 1.5 # RIGHT PALM ROTATE X axis : positive for inward, and negative for outward
# self.body_pose[0, 61] = 1.5 # RIGHT PALM ROTATE Y axis : positive for forward, negative for backward
# self.body_pose[0, 62] = 1.5 # RIGHT PALM ROTATE Z axis : positive for down, and negative for up
# self.body_pose[0, 63] = 1.5 # LEFT HAND FINGERS ROTATE X axis : positive for inwawrd, and negative for outward
# self.body_pose[0, 64] = 1.5 # LEFT HAND FINGERS ROTATE Y axis : positive for back and negative for forward
# self.body_pose[0, 65] = 1.5 # LEFT HAND FINGERS ROTATE Z axis : positive for up and negative for down
# self.body_pose[0, 66] = 1.5 # RIGHT HAND FINGERS ROTATE X axis : positve for inward and negative for outward
# self.body_pose[0, 67] = 2 # RIGHT HAND FINGERS ROTATE Y axis : positive for inward, and negative for outward
# self.body_pose[0, 68] = 1.5 # RIGHT HAND FINGERS ROTATE Z axis : positive for down and negative for up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions