PDA

View Full Version : ARB_multitexture



Frumpy
03-20-2001, 11:06 AM
ARB_multitexture uses a bunch of #defines such as
GL_MAX_TEXTURE_UNITS_ARB
GL_TEXTURE0_ARB
GL_TEXTURE1_ARB

However after searching gl\gl.h I could not find these constants. Which file are they located in and where can I get the file?

thanks all.

Deiussum
03-20-2001, 11:47 AM
They should be in glext.h which you can grab from Nvidia's site, or from one of the links on this site, I think.

ET3D
03-20-2001, 03:19 PM
The second thing you know is that you have to define all the functions yourself (assuming that you're using Windows), and use wglGetProcAddress to get the function pointers. Jordan Isaak was kind enough to send me his code that does this (although I wrote something myself, to make it context safe). I can forward it to you, if you'd like.

Frumpy
03-21-2001, 09:00 AM
Thanks for the offer but I found five tutorial code samples from the web which seem to do what you suggest. nVidia site has an OpenGL SDK which contains glext.h which has all the #defines and functions declarations for extensions.