I have a processing sketch which worked with a microsoft Kinect and which I am now attempting to get to work with an Asus Xtion RGB+D camera. I am getting the attached error. This is my code:
// Daniel Shiffman
// Kinect Point Cloud example
// http://www.shiffman.net
// https://github.com/shiffman/libfreenect/tree/master/wrappers/java/processing
import org.openkinect.*;
import org.openkinect.processing.*;
import muehlseife.*; //<- import library
import java.io.*;
import processing.opengl.*;
octaneRenderer oct; //<- setup variable
boolean exportObj = false;
// Kinect Library object
Kinect kinect;
float a = 0;
// Size of kinect image
int w = 640;
int h = 480;
// writing state indicator
boolean write = false;
// threshold filter initial value
int fltValue = 950;
// "recording" object. each vector element holds a coordinate map vector
Vector <Object> recording = new Vector<Object>();
// We'll use a lookup table so that we don't have to repeat the math over and over
float[] depthLookUp = new float[2048];
void setup() {
//size(800,600,P3D);
size(800,600,OPENGL);
kinect = new Kinect(this);
kinect.start();
kinect.enableDepth(true);
// We don't need the grayscale image in this example
// so this makes it more efficient
kinect.processDepthImage(false);
...
Any idea of how to get the xtion to work?