How to use ONI files prepared by Yang Hu January 2011 (You can download ONI package from http://www.cs.pitt.edu/~huyang/kinect/kinect.zip Since this zip file is 114MB, a backup copy is saved in my netbook at c:/changsk/bookui/kinectONI.zip) Generally speaking, oni file is a recoding of the kinect data. So that you can develop kinect application without using the real kinect hardware (By playing the recoding). I've only tested it with VS2010 under win 7 x64 1. Remove existing kinect drivers (libusb, openNUI) 2. Download & install OpenNI : http://openni.org/sites/default/files/OPENNI-Win32-1.0.0.23.exe Already included in the package 3. Download & install Primesense NITE SDK : http://downloads.primesense.com/NITE-Win32-1.3.0.17.exe PrimeSense has provided us with this key that everyone can use: 0KOIk2JeIBYClPWVnMoRKn5cdY4= Already included in the package 4. Download drivers https://github.com/avin2/SensorKinect/tree/master/Bin and install them (C:\Program Files\Prime Sense\Sensor\Driver) It's a long and complex process to build the driver, please use SensorKinect-Win32-5.0.0.exe in the package instead. 5. Copy all the xml files under 'openni' folder to C:\Program Files (x86)\OpenNI\Data, and all the xml files under 'prime sense' to C:\Program Files (x86)\Prime Sense\NITE\Data. 6. Try to run the examples under "C:\Program Files (x86)\OpenNI\Samples\Bin\", with the oni file path as the argument. e.g. "C:\Program Files (x86)\OpenNI\Samples\Bin\Release\NiUserTracker.exe" c:\xx\left.oni . 7. After everything is done, you can try to change the source code in: C:\Program Files (x86)\OpenNI\Samples //Instructions for Ubuntu, please ask zip2@pitt.edu