Kinect Control

12 09 2011

After analyzing the scripts that were included in the Blockman sample, I was able to narrow down where the data was stored for each joint on the skeleton. I decided to focus on the head joint. This way the viewer can simply lean the direction they want to move within the physical space and see it happen in the virtual. After isolating the head joint data I used a series of print statements to see if the logic was correct.

Next, I coded the camera to update  according to the data being read in from the Kinect. The result works quite nicely. The further the viewer leans, the faster they accelerate in that direction. As of now the camera does not move along the Y-axis at all. The only thing that is missing now is a rotation functionality.

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s




%d bloggers like this: