none
how to draw bone connect between joints in XNA RRS feed

  • Question

  • I'm making kinect game by xna 

    now, I can draw point into each joints ,and I want to draw bone connect between each joints.  

    I try to think ideas to solve this problem ,but I can't 

     

    Please help me T^T

    Thank you _/|\_ 

    Saturday, July 9, 2011 4:47 AM

Answers

  • Zing1911,

    If this is a question about how to draw lines using XNA API, you might have better luck in XNA general technology forums: http://forums.xna.com

    If this is a question about which skeleton joints should be connected to each other, then I can tell you that the skeleton frames output by Kinect SDK have 5 joint segments that are conceptually connected by bones:

    - JointID.HipCenter, JointID.Spine, JointID.ShoulderCenter, JointID.Head
    - JointID.ShoulderCenter, JointID.ShoulderLeft, JointID.ElbowLeft, JointID.WristLeft, JointID.HandLeft
    - JointID.ShoulderCenter, JointID.ShoulderRight, JointID.ElbowRight, JointID.WristRight, JointID.HandRight
    - JointID.HipCenter, JointID.HipLeft, JointID.KneeLeft, JointID.AnkleLeft, JointID.FootLeft
    - JointID.HipCenter, JointID.HipRight, JointID.KneeRight, JointID.AnkleRight, JointID.FootRight

    Hope this helps,
    Eddy


    I'm here to help

    Monday, July 11, 2011 9:17 PM

All replies

  • Zing1911,

    If this is a question about how to draw lines using XNA API, you might have better luck in XNA general technology forums: http://forums.xna.com

    If this is a question about which skeleton joints should be connected to each other, then I can tell you that the skeleton frames output by Kinect SDK have 5 joint segments that are conceptually connected by bones:

    - JointID.HipCenter, JointID.Spine, JointID.ShoulderCenter, JointID.Head
    - JointID.ShoulderCenter, JointID.ShoulderLeft, JointID.ElbowLeft, JointID.WristLeft, JointID.HandLeft
    - JointID.ShoulderCenter, JointID.ShoulderRight, JointID.ElbowRight, JointID.WristRight, JointID.HandRight
    - JointID.HipCenter, JointID.HipLeft, JointID.KneeLeft, JointID.AnkleLeft, JointID.FootLeft
    - JointID.HipCenter, JointID.HipRight, JointID.KneeRight, JointID.AnkleRight, JointID.FootRight

    Hope this helps,
    Eddy


    I'm here to help

    Monday, July 11, 2011 9:17 PM
  • Thank you for your suggestion 

    I will try to coding it 

    ^ v ^ 

    Wednesday, July 13, 2011 7:34 PM