Forgot password
Enter the email address you used when you joined and we'll send you instructions to reset your password.
If you used Apple or Google to create your account, this process will create a password for your existing account.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Reset password instructions sent. If you have an account with us, you will receive an email within a few minutes.
Something went wrong. Try again or contact support if the problem persists.
Escapist logo header image

Engineer Integrates Kinect with Garry’s Mod

This article is over 13 years old and may contain outdated information

Yelp Engineering has made the dream of Kinect integration with Garry’s Mod a reality and now it wants to see what you can do with it.

You know what Kinect is and if you’re reading this, odds are that you know what Garry’s Mod is, too. Wouldn’t it be awesome if the two could be put together? That’s exactly what John Boiles of Yelp Engineering has done with the help of OpenNI, the open source software released by PrimeSense, the company responsible for the 3D motion sensing technology in Kinect.

“OpenNI provides APIs for interacting with hardware as well as incorporating higher level computer vision modules that can recognize objects and gestures,” he explained. “This allows us to solve really complex problems (like tracking skeletons in 3D space) very simply, since the heavy lifting is already done for us in OpenNI.”

The Kinect integration with Garry’s Mod consists of two parts, a backend based on one of the OpenNI example projects and a Lua script in Garry’s Mod that parses the UDP packets generated by the backend. Boiles said that interfacing with Kinect through OpenNI is “super easy” but you’ll have to take his word for it, since pretty much all of this technobabble is way above my pay grade.

It’s fairly basic at this point but with the “proof of concept” complete, he is now giving away the code and inviting people to “branch it and hack it” into bigger and better things. Garry Newman, the creator of Garry’s Mod, said on his blog that he’d love to see Boiles’ creation included with future releases of his software. I’m betting we’ll see some pretty cool things from this mod in very short order.

Source: Yelp Engineering Blog, with thanks to Mechsoap for the tip.

Recommended Videos

The Escapist is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more about our Affiliate Policy