PDA

View Full Version : Problem texturing with new nvidia drivers



ocarretero
06-20-2003, 07:10 AM
I have a bitmap with all the ascii chars for drawing text in a CAD program im working on.
For using this bitmap i use:

glBindTexture (GL_TEXTURE_2D, n);
glTexEnvi (GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE);
gluBuild2DMipmaps(GL_TEXTURE_2D,3,Materials[n].txdx,Materials[n].txdy,GL_RGB,GL_UNSIGNED_BYTE,Materials[n].bits);

After that I index this texture using glTexCoord2f(...); for every char.

This worked until we updated the NVIDIA drivers from 3.x to 4.x.
Are there any known problems of nvidia last drivers? Can it be a bug of our code?

I have also tried to use glTexImage2d(...) for initializing the texture, but it doesn't sseems to work properly, either.

Relic
06-20-2003, 07:56 AM
>>Can it be a bug of our code?<<
Difficult to tell wíthout details. http://www.opengl.org/discussion_boards/ubb/wink.gif
What's happening instead?
Does texturing work at all?
Did you check the GL_RENDERER?
Filter modes, clamping, drawing routine, OS, board, ...?