OpenKinect-for-Processing icon indicating copy to clipboard operation
OpenKinect-for-Processing copied to clipboard

Kinect2 PointCloud Examples Issues

Open philspitlerSF opened this issue 9 years ago • 4 comments

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

philspitlerSF avatar Oct 18 '15 21:10 philspitlerSF

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

ThomasLengeling avatar Nov 15 '15 22:11 ThomasLengeling

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!

chazevans avatar Jun 29 '16 15:06 chazevans

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.

metaColin avatar Aug 30 '16 19:08 metaColin

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

MilanMeetKaur avatar Mar 21 '17 01:03 MilanMeetKaur