Our assignment was to create a 3D region within and activate it. Figuring out the math for the x/y/z points in relation to the virtual camera took some experimenting, so I simply created a cube in this openFrameworks example (based on the DepthVisualizer example that Zach and Kyle provided) that could be activated by anyone detected within the near/far threshold via the Kinect.
DepthVisualizerActivateCube

« »