Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No grayscale values in depth texture. #1

Open
benMcChesney opened this issue Jun 12, 2014 · 1 comment
Open

No grayscale values in depth texture. #1

benMcChesney opened this issue Jun 12, 2014 · 1 comment

Comments

@benMcChesney
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants