nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

rtayek
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
Reply | Threaded
Open this post in threaded view
|

Re: nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

rtayek
using GL2 is helping somewhat. still stuck on GL_ARRAY_BUFFER_ARB

thanks
Reply | Threaded
Open this post in threaded view
|

Re: nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

Xerxes Rånby

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

Reply | Threaded
Open this post in threaded view
|

Re: nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

rtayek
At 11:00 PM 8/29/2012, you wrote:

>Use GL_ARRAY_BUFFER it is now part of the official specification.
>Suffix like _ARB ... used to indicate new extensions ...The suffix
>gets removed
>...
><http://www.opengl.org/wiki/OpenGL_Extensions>http://www.opengl.org/wiki/OpenGL_Extensions

great - most of my errors are gone now!

thanks


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>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.
><http://forum.jogamp.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>NAML
>
>
>
>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-tp4025951p4025953.html>http://forum.jogamp.org/nehe-port-GL-GL-ARRAY-BUFFER-ARB-is-undefined-tp4025951p4025953.html 
>
>To unsubscribe from nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined,
><
>here.
><
http://forum.jogamp.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>NAML
>

---
co-chair http://ocjug.org/

Reply | Threaded
Open this post in threaded view
|

Re: nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

gouessej
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
Reply | Threaded
Open this post in threaded view
|

Re: nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

rtayek
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/

Reply | Threaded
Open this post in threaded view
|

Re: nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

gouessej
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
Reply | Threaded
Open this post in threaded view
|

Re: nehe port - GL.GL_ARRAY_BUFFER_ARB is undefined

rtayek
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/