All,
How does one use the extension GL_ARB_vertex_program in JOGL? The following functions and others do not appear to exist in the API:
glGenProgramsARB
glProgramStringARB
glBindProgramARB
glDeleteProgramsARB
Thank you,
Robert
All,
How does one use the extension GL_ARB_vertex_program in JOGL? The following functions and others do not appear to exist in the API:
glGenProgramsARB
glProgramStringARB
glBindProgramARB
glDeleteProgramsARB
Thank you,
Robert
You can find these methods in JOGL 1.1.1 :
void glGenProgramsARB(int n, int[] ids, int ids_offset)
void glGenProgramsARB(int n, IntBuffer ids)
void glBindProgramARB(int target, int id)
void glDeleteProgramsARB(int n, int[] ids, int ids_offset)
void glDeleteProgramsARB(int n, IntBuffer ids)
void glProgramStringARB(int target, int format, int len, String string)
gouessej,
It appears they were removed in version JOGL 2.0. Is this correct, or were they moved to another interface? I have not found them anywhere else.
Thank you,
Robert
All,
The GL_ARB_vertex_program functions exist in the GL2 interface. It is important to note that GL3 is not an extension of GL2.
Thank you,
Robert
you’re welcome. I consider your problem is solved.