3d texture NVIDIA GF2mx Windows

HI!
i want to use 3d texture in my system.
(Geforce 2 mx, Windows XP and VC++ 6.0)
i have read many articles and tried many times…
but i don’t know why i fail…–;
i downloaded NVIDIA opengl sdk…
but it was too complicated for me to use.
what can i do more?
please help me T.T

//////////////////My codes here
#include <GL/gl.h>
#include <GL/glu.h>
#include <glext.h> // from NVDIA opengl sdk !

typedef void (*PFNglTexImage3D) (GLenum target, GLint level, GLint internalFormat,
GLsizei width, GLsizei height, GLsizei depth,
GLint border, GLenum format, GLenum type,
const GLvoid *texels);

PFNglTexImage3D glTexImage3D;
glTexImage3D = (PFNglTexImage3D) wglGetProcAddress(“glTexImage3DEXT”);
assert(glTexImage3D != 0); // fale here

//…and red book p 374 Three Dimensional Texturing…

The GF2 does not support 3D textures, that’s why the wglGetProcAddress fails.

replace

glTexImage3D = (PFNglTexImage3D) wglGetProcAddress(“glTexImage3DEXT”);

by

glTexImage3D = (PFNglTexImage3D) wglGetProcAddress(“glTexImage3D”);

I just tried with the new release 40 drivers, and querying for glTexImage3DEXT returns a valid pointer (exactly the same one as for glTexImage3D, naturally). So check your pixel format. Maybe you’re using the MS OpenGL software renderer which does not support 3D textures at all.

Anyway, even when you’re using a hardware-accelerated pixel format, you won’t get hardware-accelerated 3D textures on a GF2MX and the driver will use software rasterization. So don’t be surprised if you get only 5 fps or so.

Regards.

NVIDIA doesn’t support 3D textures in hardware on GeForce 2, but is required to support 3D textures (in software) for OpenGL 1.2 compliance. On these platforms, we export the OpenGL 1.2 functions, but not the EXT ones. The same thing goes for shadow maps in OpenGL 1.4.

I solved my problem.!!!
thank you for your help !

[This message has been edited by saden (edited 09-11-2002).]