joshuajnoble / ofxKinectV2

of addon for Kinect V2
47 stars 22 forks source link

No grayscale values in depth texture. #1

Open benMcChesney opened 10 years ago

benMcChesney commented 10 years ago

I was able to run the simple-example but noticed that the depth feed is displaying either black or white pixels but no grayscale values in between.

The two methods being called in this image are :

kinect.drawDepth(0, 0); kinect.drawBodyIndex(500, 0);

depthpixels

I also noticed that there's a ofShader object in the example but it's never setup or initialized, perhaps this could be part of the issue ?

Running this in Visual Studio 2012 on OpenFrameworks release 0.8.1

joshuajnoble commented 10 years ago

I'm not using that shader yet, couldn't get it to work and don't have a machine to test with yet (need to buy a new computer ;)

The depth-feed is just using the same calculations as the KinectV1 freenect, so I think they're off. Definitley something to address soon.