You should load the matrices every time you change them: for example, if you call perspective() or ortho(), then you have to load the projection matrix. If you use camera() or any geometric transformation (translate, rotate, scale), then you need to load the modelview.
↧
Re : Processing 2.0 - 1,000,000 points in OpenGL using Vertex Arrays
↧