-
Notifications
You must be signed in to change notification settings - Fork 769
Closed
Labels
Description
I downloaded libfreenect2-master on Github 12/15.
I tried run the solution libfreenect2_vs2013.
and I confirmed the following contents.
1:Rgb,Ir,Depth Windows are start.
2:At the Rgb window, I can see color picture from K4W2.
3:But at the Ir and Depth windows stay black.
I tried setting some breakpoints on the codes.
and I confirmed the following contents.
4:At upload on opengl_depth_packet_processor.cpp
There is the code "glTexSubImage2D(GL_TEXTURE_RECTANGLE, /*level*/0, /*xoffset*/0, /*yoffset*/0, width, height, FormatT::Format, FormatT::Type, data);"
the data value is maybe depth data.
but, the process method on opengl_depth_packet_processor.cpp.
in the run method,
line 625 "*depth = filter2_depth.downloadToNewFrame();"
the value of "data of depth" are all "00".
I think lack glFlush()?
or, failing OpenGL library?
I use OpenGL32.Lib at "C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64".
I want to get depth data without Kinect SDK.
I want to show the depth data on depth window!
So, please give me advice.
my Application Development Environment
windows 8.1
visual studio 2013
Whent I builded example's project.
I changed the 157 line Code to "ADD_LIBRARY(freenect2 STATIC ${SOURCES})" at the file CMakeLists.txt.
Because I want to make freenect2.lib.