I have a problem I can not fix. I have a one plane-matrix consists only of 0 and 1. They are practically matrices from images, and I want to recreate the same image in a 3D plane. So I could move the points in a three-dimensional plane or connecting the dots in different ways.
This is an example of what I would do (made with OpenFrameworks):
The problem is that I do not know how to create these points in OpenGL. Inserting the matrix jit.gl.mesh only comes out a strange shape.
Thank you :)