hi, trying to get lesson 45 running in eclipse.
there are some things undefined: GL.GL_ARRAY_BUFFER_ARB GL.GL_VERTEX_ARRAY GL.GL_TEXTURE_COORD_ARRAY thanks |
using GL2 is helping somewhat. still stuck on GL_ARRAY_BUFFER_ARB
thanks |
Use GL_ARRAY_BUFFER it is now part of the official specification. Suffix like _ARB is used to indicate new extensions that are still under review, by the OpenGL Architecture Review Board, for inclusion into a future OpenGL versions. The suffix gets removed when it gets included into the OpenGL core. http://www.opengl.org/wiki/OpenGL_Extensions Cheers Xerxes 2012-08-30 05:47 skrev rtayek [via jogamp]: using GL2 is helping somewhat. still stuck on GL_ARRAY_BUFFER_ARB
thanks If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/nehe-port-GL-GL-ARRAY-BUFFER-ARB-is-undefined-tp4025951p4025952.html
To start a new topic under jogamp, email [hidden email] To unsubscribe from jogamp, click here. NAML |
Administrator
|
Please look at the documentation. I often port programs, APIs and engines to JOGL 2.0, it is quite straightforward except when some threading problems occur. Almost all suffixes like _ARB, _EXT, ... have disappeared and if you have a doubt, just check in our online Java documentation or in our source code.
Julien Gouesse | Personal blog | Website
|
At 12:52 AM 8/30/2012, you wrote:
>Please look at the documentation. ... i will try to find it. i did geta a vbo test to work. i just have these left. The constructor GLCapabilities() is undefined GLDisplay.java The method buildVBOs(GL2) in the type Renderer45.Mesh is not applicable for the arguments (GL) The method displayChanged(GLAutoDrawable, boolean, boolean) is undefined for the type GLEventListener The method getKeyModifiersText(int) is undefined for the type KeyEvent The method getKeyText(int) is undefined for the type KeyEvent The method setRunAsFastAsPossible(boolean) is undefined for the type FPSAnimator thanks --- co-chair http://ocjug.org/ |
Administrator
|
The doc is here:
http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/ You need to pass a GLProfile instance to the constructor of GLCapabilities. Just use GLProfile.getDefault() or GLProfile.getMaxFixedFunc(true) for NeHe tutorials. setRunAsFastAsPossible() is now only available in com.jogamp.opengl.util.Animator, not in FPSAnimator.
Julien Gouesse | Personal blog | Website
|
At 06:23 AM 8/30/2012, you wrote:
>The doc is here: ><http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/>http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/You >need to pass a GLProfile instance to the constructor of >GLCapabilities. Just use GLProfile.getDefault() ... that cleared up even more. working on the getKey stuff now. thanks --- co-chair http://ocjug.org/ |
Free forum by Nabble | Edit this page |