Login  Register

Re: Using GL2 from JOGL

Posted by gouessej on Feb 07, 2019; 7:10pm
URL: https://forum.jogamp.org/Using-GL2-from-JOGL-tp4039492p4039495.html

Hello

Using GL4 would help you to drive your code more "future proof" but you can already use GL2 and improve your performance by using retained mode (vertex buffer objects) instead of immediate mode (glBegin, glEnd, glVertex, ...).

Some drivers of modern graphics cards already don't support the fixed pipeline at all.

Instead of reinventing the loop, have you ever considered using Jzy3d? It's based on JOGL, it allows to draw charts and it has a lot of features, it's well maintained.
Julien Gouesse | Personal blog | Website