Category Archives: WebGL

Record 3D Video with Kinect V2 and play it back in the browser

My latest project makes use of the new Kinect sensor and the capabilities of WebGL.

Using the source provided in this post, you’ll be able to record a 3D video of yourself (and those in the proximity of your camera) using the new Kinect for Windows V2, and play it back in a 3D environment running in the browser. The 3D environment is created using Three.js, and it even¬†supports viewing the video using the Oculus Rift DK2.

By having a browser playing back your video you have the opportunity to send a 3D video of yourself without the need for the recipient to install anything. Great isn’t ?

Recording playing in the browser
Recording playing in the browser

Continue reading Record 3D Video with Kinect V2 and play it back in the browser

DK2 parameters for THREE.OculusRiftEffect.js

EDIT:
As of Three.js r69, a updated version of the OculusRiftEffect can be found here

Currently three.js includes a function that renders a Oculus Rift friendly image to the screen. However, the function is made for the first version of the Rift, consequently it will not work with the updated DK2 version.

In order to get it working with the DK2 version, only a few lines of codes needs to be altered.

The updated function may be found here.