Re: Creating a GLProfile in an Applet
Posted by
pjcozzi on
Nov 02, 2010; 3:29pm
URL: https://forum.jogamp.org/Creating-a-GLProfile-in-an-Applet-tp1824031p1828623.html
Thanks for the response.
GLProfile.getMaxFixedFunc() isn't in the JOGL jars available to applets yet:
java.lang.NoSuchMethodError: javax.media.opengl.GLProfile.getMaxFixedFunc()Ljavax/media/opengl/GLProfile
I also tried GLProfile.getDefault(), but it only returns a 3.0 context when ran from Eclipse, where as, when I pass GLProfile.GL4bc to GLProfile.get(), I can get a 4.0 context (only when ran from Eclipse with recent JOGL jars. In the web browser, it still creates a 3.0 context).
Perhaps there is still a bug in
GL_PROFILE_LIST_ALL, as hinted in the javadoc.
Is it possible to create anything greater than a 3.0 context in an applet in a web browser at this time? It's not a big deal if we can't, I just want to know the limitations.
Thanks for the help,
Patrick