Cinder Forums




Kinect in Cinder, Hello World from flight404 on Vimeo.
mKinect = Kinect( Kinect::Device(1) );
nKinect = Kinect( Kinect::Device(2) );
Do I have to set different device parameters?
I also noticed that the Kinect stream (using kinectBasicApp) tends to freeze (also with only one Kinect) here. Is there a way to reduce the stream's framerate?
Well, let me say that finding your nice package was one of the nice great finds in these exciting last Kinect days.
mKinect1 = Kinect( Kinect::Device(0) );
mKinect2 = Kinect( Kinect::Device(1) );
I haven't seen any slow down yet - do you have a large number of devices on the same USB bus? You might try just having the one plugged in and see if that affects anything in terms of performance...
-Andrew
Surface depthSurf = Surface(ImageSourceRef(mDepthTexture));
Surface colorSurf = Surface(ImageSourceRef(mColorTexture));
Command /Developer/usr/bin/g++-4.2 failed with exit code 1
vVertex.z += 1.0 / (depth * 2048.0) * -0.0030711016 + 3.3309495161);
Anyone else trying to get the depth values mapped to real-world measurements?
cd xcode
./fullbuild.sh
i686-apple-darwin10-llvm-g++-4.2: ~/CinderGIT/cinder_master/lib/libcinder_d.a: No such file or directory
Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1
By default i open up the project and get loads of errors until i change the CINDER_PATH to my rebuilt cinder location "~/CinderGIT/cinder_master". This fixes all but this last error, which is weird as the libcinder_d.a file it can't find is definately in that location.
by the way this is being built on a macbook pro with osx 10.6.7 and xcode 4.0.2
Any ideas?
Thanks
2011-06-16 20:32:57.407 kinectBasic[10059:a0f] invalid memory allocation
There are 1 Kinects connected.
2011-06-16 20:32:59.624 kinectBasic[10059:a0f] invalid memory allocation
2011-06-16 20:32:59.662 kinectBasic[10059:a0f] invalid memory allocation
2011-06-16 20:32:59.695 kinectBasic[10059:a0f] invalid memory allocation
2011-06-16 20:32:59.711 kinectBasic[10059:a0f] invalid memory allocation
it happens with both kinectBasic and kinectPointCloudApp examples..
any clue?
thanks from Argentina!
