BambooSoftware / tloll

0 stars 0 forks source link

Update OpenGL Calls for Quads #48

Open michaelplatt07 opened 7 years ago

michaelplatt07 commented 7 years ago

According to documentation, OpenGL 3.1 and greater will no longer support quads which we use. We need to break this into triangles and do it the appropriate way so if we choose to update OpenGL to later version we don't break.

michaelplatt07 commented 7 years ago

Note to self. This appears to be as easy as changing all instances of QUADS to TRIANGLES and getting the appropriate values for the two triangles. Tested once quickly but needs further testing before ticket set as completed.

michaelplatt07 commented 5 years ago

Update. OpenGL should be using VBOs and Vertex Arrays instead of using GL_BEGIN and GL_END with triangles and quads. It's not a high priority issue but it does need to get done at some point.

michaelplatt07 commented 5 years ago

https://stackoverflow.com/questions/17630753/jogl-opengl-vbo-how-to-render-vertices/17642149