Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Processing 2.0 - 1,000,000 points in OpenGL using Vertex Arrays

$
0
0
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.

There is no replacement for those functions in GLES2, GL3+, you have to take care of the projection/modelview matrices all by yourself and then pass the corresponding arrays to the shaders. 



Viewing all articles
Browse latest Browse all 1768

Trending Articles