Jump to content

Playing with Leadwerks and a Kinect


Charrua
 Share

Recommended Posts

Hi, i'm doing some test with a kinect, the idea is to follow player's position (head tracking) and project on a screen (not laptop or pc screen/monitor) 5 meters away from the player a "window" through which we see the 3D world. Each player has it's own line of sight and a "window" to look throug.

 

First test are nice smile.png

 

 

 

 

(ok, are not the first tests.. this is the first that look promising!)

 

 

Juan

  • Upvote 2

Paren el mundo!, me quiero bajar.

Link to comment
Share on other sites

thank's

 

i'm using the 360 SDK v1.8

 

the video was made with aproject that only loads a map and connects to the kinect, the other hawdware/software was not present.

 

the complete systems includes guns with a sensor on the trigger and a IR laser beam, and an IR camera to know where the gun's are heading...

 

gun:

https://photos.google.com/photo/AF1QipOqR9tke1JGI1CstXfA8BTUuf10rsGBG0BC0Tg

 

stuff

https://photos.google.com/photo/AF1QipMEaQRfJe9fK8v7AlRiUxERY5iUYLOiS2fVNec

 

test (no kinect still, no scene at all either!)

https://photos.google.com/photo/AF1QipPydG6AouTsLWBA1gi2UcZio6ym1MF2tl364wU

Paren el mundo!, me quiero bajar.

Link to comment
Share on other sites

Now I activated the color camera and getting the color information, copying it to a texture and drawing on the screen (up left) so there I'm!

 

Using multiple buffers and a shader to draw clipped parts of them on the screen, increased fps from 15 to 30 even with getting color kinect camera and copying it (by hand: pixel by pixel) to a leadwerks texture .

 

screen%20shot.png

 

video:

 

 

 

Also I'm tracking Head, Shoulders, center of shoulders and center of body. A circle is drawn (more or less in the correct place) on each of the tracked joints if kinect report it as detected.

 

The program moves the "player" camera which is at the central "window" of the screen and the intention is to show in a window what a player actually has to see if he were watching the 3d world through that window.

 

Movement is followed correctly except at the last part of the video in which i place my hands in front of my face... so gets hard for the kinect to track me. As you can see, circles appear and disappear and when this happens, the camera control isn't correct.

 

 

Juan

  • Upvote 2

Paren el mundo!, me quiero bajar.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...