I'm looking for an example that uses the core OpenGL support. I started trying to use the LowLevelGL example on the code.google site (link at the bottom), but it seems to have some issues with 2.0b7. (all user issues?).
When I try to run the sketch as-is, I get the error
Cannot find anything named "PShader.FLAT"
which is thrown by line 25:
shader = pg.getShader(PShader.FLAT);
I tried changing that call to loadShader(), but that produces the same error. Just to keep going, I grabbed a blur shader and loaded that shader,
That gets me by that error, but then throws the error:
The mehod allocateDirectFloatBuffer(int) from the type PGL is not visible
which comes from line 28:
vertData = PGL.allocateDirectFloatBuffer(12);
I assume the example and the implementation in 2.0b7 have drifted?? I couldn't find an updated example. Could someone help me out here with either 1) pointers to fix these specific issues or 2) a pointer to a low level example?
The sample code is here:
Thank you!!