Quote:Original post by Anonymous Poster
I use Ubuntu and it comes with Mesa 5 which does not support OGL 1.5 but I intend to compile Mesa 6. Is it possible to install Mesa locally just for the program I develop or I have to replace the original Mesa? I want to do this so that the end user does not need to update his Mesa.
I use Ubuntu too. [smile]
If the mesa library uses shared linking, then it has to be available on the system running your programs. If it is statically linked, however, then all the symbols should be included in the executable you compile on your system.
Quote:
What is GLEW? Does it replace gl.h and glu.h and the appropriate libraries?
Not exactly. It does not replace gl.h and glu.h, but it does provide definitions and entry points for functions defined in the OpenGL specification not otherwise available. In other words, it allows you to use OpenGL 2.0. But, of course, only if your graphics card supports the necessary extensions.
Quote:
Where can I find OpenGL 1.5 headers for Windows?
GLEW is cross-platform, and works just as well in Windows as in Linux. (I've tried them both myself!)
Quote:Original post by NamelessTwo
For better crossplatform compatability I'll use SDL - OpenGL, SDL, GLSL and standard C++ libraries only.
SDL also allows you to create cross-platform OpenGL applications. Though, personally I prefer GLFW or glut. SDL is really more than just a windowing framework, and provides alot of unnecessary functionality for my needs. Although it certainly is cool that it provides you with functionality for audio, CD-rom, timers, threads, and probably more.
Quote:
I have lots of books and tutorials about OpenGL but none explain how to use the latest versions and GLSL on ATI hardware. That's why I'm asking here.
I'm pretty sure you need to access glsl functionality through extensions, (
ARB_shading_language_100,
ARB_shader_objects).
That at least goes for OpenGL's interface to glsl programs. You can write glsl code independently, as it's a language of its own.
[Edited by - James Trotter on July 6, 2005 2:01:22 PM]