PDA

View Full Version : OpenGL 1.2 under Windows



dslater
03-27-2001, 10:43 AM
I have seen a number of OpenGL graphocs cards that claim to have full support for OpenGL 1.2. However, the Microsoft OpenGL headers, libraries and DLL's currently only support OpenGL 1.1. So how do you access the OpenGL 1.2 features of these new cards under Windows?

Nutty
03-27-2001, 11:16 AM
You have to use extensions to access features above 1.1

Very lame on Microsofts behalf.. come on M$ sort it out!!

Nutty

zed
03-27-2001, 01:19 PM
mark kilguard has written a nice article http://www.opengl.org/developers/code/features/OGLextensions/OGLextensions.html

Michail Bespalov
03-27-2001, 11:07 PM
Hi,


Originally posted by Nutty:
You have to use extensions to access features above 1.1


Wrong.

Use wglGetProcAddress(1_2_function).

for example
nvidia provides 1.2 opengl.3D textures are necessary part of 1.2,but nvidia has no EXT_texture_3d.



[This message has been edited by Michail Bespalov (edited 03-28-2001).]

Nutty
03-27-2001, 11:33 PM
Fair enough. But that doesn't make what I said wrong.

Aren't 3D textures supported in software? I'm sure they're mentioned somwhere in nvidia's latest extension specification list.

Nutty

Michail Bespalov
03-27-2001, 11:52 PM
Originally posted by Nutty:
Aren't 3D textures supported in software?Nutty
yes,so what?

if you want access 1.2 features use 1.2 functions,analogous extensions are not guaranteed.

wglGetProcAddress("glTexImage3D") - success
wglGetProcAddress("glTexImage3DEXT") - failure

DaViper
03-28-2001, 02:29 AM
if you want access 1.2 features use 1.2 functions,analogous extensions are not guaranteed.

wglGetProcAddress("glTexImage3D") - success
wglGetProcAddress("glTexImage3DEXT") - failure


and wgl is no extension??????

Bob
03-28-2001, 03:00 AM
They are not extensions, but rather platform specific OpenGL functions. You don't have to see if they exists before using them, because they are a part of OpenGL for Win32.