Kinect Performance

Hello,

I am working with UnityWrapper/OpenNI and am looking for ways to increase performance. Just running the NITE update runs at 31fps and if I draw it to screen via SetPixels and Apply it drops to 10fps on my laptop.

Has anyone been able to get it to work at 320x240 resolution instead of 640x480? Changing the xml config values doesn’t seem to work.

Any other suggestions would be appreciated.
Thanks

Also, I’ve noticed the Ogre “Sinbad” kinect demo runs at 150fps vs. the UnityWrapper demo which runs at 10fps. The demos are functionally very similar so why is unity so much slower?

You should use a plugin instead of SetPixels and Apply. I got one working recently:

http://forum.unity3d.com/threads/77245-help-moving-kinect-camera-and-depth-data-into-a-Texture2D?highlight=kinect

Ok I’ll try that, thanks!