shiffman / OpenKinect-for-Processing

For use of libfreenect in processing
535 stars 218 forks source link

Kinect2 PointCloud Examples Issues #43

Open philspitlerSF opened 9 years ago

philspitlerSF commented 9 years ago

I'm getting an error in the Kinect2 Pointcloud examples.

It errors on this line.

pgl.vertexAttribPointer(vertLoc, 3, PGL.FLOAT, false, 0, depthPositions);

The error is:

the function ("vertexAtrribPointer()" expects parameters like: ""vertexAtrribPointer(int,int,int,boolean,int,int)"

I'm using Processing 3.0

This may be the same issue reported in #36

Thanks

Phil

ThomasLengeling commented 8 years ago

Try the lib again, the only example that is not showing correctly the color is the colorPointCloud2.

chazevans commented 8 years ago

I am getting the same error for the ColorPointCloud2 + DepthPointCloud2 examples:

The function "vertexAttribPointer()" expects parameters like: "vertexAttribPointer(int, int, int, boolean, int, int)"

Using: 1.0 release of the openkinect_processing library from Github Processing 3.1.1 Mac OSX 10.11.5

Thanks in advance for any help!

metaColin commented 8 years ago

I am having the same bug. Any solutions yet?

UPDATE:

So I don't think this works when installed via "Sketch → Import Libraries → Add library".

When I cloned the repo to my machine manually and opened the individual examples I was able to get most of the demos to work.

MilanMeetKaur commented 7 years ago

I am facing the same issue for DepthPointCloud2. Please suggest a solution for it. Thanks!