PDA

View Full Version : Texture problem with new Nvidia driver



Micke
06-11-2004, 07:51 AM
After upgrading my GeForce FX 5900 Ultra with the new Nvidia drivers 56.72 all my textures has got dark borders around them.
All problems dissapeares if I change back to the older 45.23 drivers.
Im wondering if anyone else got the same problem or if im the only "lucky" one.

dorbie
06-11-2004, 09:42 AM
Just a guess but behaviour might have changed w.r.t. GL_CLAMP vs GL_CLAMP_TO_EDGE, try changing to GL_CLAMP_TO_EDGE to support the behaviour you used to expect from GL_CLAMP.

Micke
06-20-2004, 05:09 AM
Thanx for your reply!!

I maybe a nuthead here but my compiler doesnt recognize CLAMP_TO_EDGE.
Im I using an old library or am I just old. :confused:

Cheers
Micke

dorbie
06-20-2004, 06:57 AM
You may need to update your header files. Clamp to edge was an extension but now it's standard (in 1.2 core). It's worthwhile including gl.h and glext.h, especially on windows but for something simple like a clamp token just an up to date gl.h will do with nothing else required. Any SDK from any manufacturer will include this, but it's best to get the extension header from OpenGL.org.

Intel has a package on this place that includes an up to date gl.h and the wrappers to use core calls without getprocaddress function pointers.

Get it here:

http://oss.sgi.com/projects/ogl-sample/sdk.html

Micke
06-20-2004, 08:03 AM
Thanks a lot ,man :D :D