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

OGL stuff not working at all

Open prismspecs opened this issue 10 years ago • 6 comments

I've tried it on three computers (one Windows) so it can't just be me, right? This line:

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

throws an error that says that vertexAttribPointer wants (int,int,int,boolean,int,int) and it seems like depthPositions is a float buffer.

prismspecs avatar Oct 12 '15 16:10 prismspecs

try again the lib, I updated the openGL examples

ThomasLengeling avatar Nov 15 '15 22:11 ThomasLengeling

I get the same error as prismspecs (Mac OSX 10.11, Processing 3.0.2).

AndreasRef avatar Mar 01 '16 11:03 AndreasRef

Try the Github version, I updated them for processing 3.0, I don't know if something change in 3.0.2

ThomasLengeling avatar Mar 01 '16 22:03 ThomasLengeling

DepthPointCloud2 still fails on the PGL rendermode (processing 3.0.2, OSX)

peebeebee avatar Apr 24 '16 14:04 peebeebee

Hello, anyone, any success running PointCloudOGL for kinect 1?

I couldn't actually make the current library to work on my mac, so I am using the "official" one available at processing's page. In that version, I have an issue at line 60 pgl.vertexAttribPointer(vertLoc, 3, PGL.FLOAT, false, 0, depthPositions);

since I am not familiar with shaders at all, I am having a bad time trying to figure out something that works

edit: just in case got it working using the "official" openkinect library downloaded from processing website https://github.com/bontempos/processing/blob/master/PointCloudOGL/PointCloudOGL.pde

bontempos avatar Jul 18 '16 05:07 bontempos

Hey, I'm using Kinect 2 in mac OS X with Processing 3.0 Everything are working fine unless when I try to render with shader (PGL :( It gives me an error that I can't understand:

Cannot compile fragment shader; ERROR: 0:11; Regular non-array variable ‘fragColor' may nor be redeclared.

Is it possible that the .glsl code must be some different? https://github.com/bontempos/processing/tree/master/PointCloudOGL/data I hope you can help me!

mcpoieses avatar Aug 02 '16 18:08 mcpoieses