We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm not quite sure how to frame this question- I'm a processing noob, but as usual, I've jumped in at the deep end, so I'm not sure whether the issue is something basic I'm failing to understand (quite likely).
I created a class to implement a VBO-based grid, taking the Advanced OpenGL example as a starting-point.
Now, I want to render the geometry in the main draw thread. I want to use Peasy Cam to be able to rotate/move the grid, and I want to be able to overlay ControlP5 items on top.
The issue is that the geometry created by an instance of my new class appears on top of the controls. Also, it rotates when I change the camera. I want it to always appear in front of the 3D geometry, and to not move when the camera is moved.
I'm attaching a zip of the work as it stands. I'd be really really grateful if someone could take a look at it, and if possible, give me some tips on where I'm going wrong. I'm sure it's something pretty simple.
Here's the file on Dropbox.