truonggiang1994 / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

Playing .oni file crashes with Couldn't getXN_STREAM_PROPERTY_ZERO_PLANE_DISTANCE #103

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Record an .oni file with NODE_USER enabled
2. Play the .oni file with enableUser()
3. Sketch crashes with "Couldn't getXN_STREAM_PROPERTY_ZERO_PLANE_DISTANCE"

What is the expected output? What do you see instead?
The sketch should play the .oni file and render the pre-recorded skeleton. But 
it crashes with "Couldn't getXN_STREAM_PROPERTY_ZERO_PLANE_DISTANCE"

What version of the product are you using? On what operating system?
SimpleOpenNI 1.96
OS X 10.8.5
Java 1.7.0_55

Please provide any additional information below.
Commenting out enableUser() avoids the crash but does not recognize a skeleton. 
I think the old RecorderPlay example worked with enableUser(). Currently it 
seems that .oni files are only storing RGB and depth.

Original issue reported on code.google.com by emnullfu...@googlemail.com on 23 May 2014 at 11:48

GoogleCodeExporter commented 8 years ago
It seems that recording is the problem. Playback of this test file works:
http://www.cs.pitt.edu/~huyang/kinect/ml.oni

Original comment by emnullfu...@googlemail.com on 23 May 2014 at 12:30