http://qs321.pair.com?node_id=11149441


in reply to Re^4: Graphics: OpenGL in Perl/Tk ... with GLUT
in thread Graphics: OpenGL in Perl/Tk ... with GLUT

Well, glGenBuffersARB_p is gone in OpenGL::Modern because any OpenGL in the last (15 years?) has glGenBuffers which is the same thing by its now-official name, and I don't know if new OpenGLs would acknowledge the name glGenBuffersARB. But, thanks for pointing that out, because maybe I could check for it to provide buffer Perl objects when using using the original OpenGL module. But, what uses buffer objects in 1.4? Are all the rest of OpenGL 2's APIs provided as optional extensions on 1.4?
  • Comment on Re^5: Graphics: OpenGL in Perl/Tk ... with GLUT

Replies are listed 'Best First'.
Re^6: Graphics: OpenGL in Perl/Tk ... with GLUT
by haj (Vicar) on Jan 09, 2023 at 08:11 UTC

    Yeah, I understand why glGenBuffersARB_p (and the other ARB stuff) is gone in OpenGL::Modern.

    As of your question about the availability of OpenGL 2: I simply don't know. The OpenGL docs have a long list of interfaces, about 100 of them with ARB in their names, indicating registered extensions. Is that complete with regard to OpenGL 2? I've no idea.

    I have only just started to examine OpenGL, which was quite a journey. The Perl modules' documentation does not give much insight, and all the external links from the Wikipedia page Perl OpenGL are stale. I know that I'm currently using ancient interfaces, following an ancient guide. but hey, this stuff still works!