LWJGL
May 18, 2013, 02:19:09 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: nvidia option question  (Read 4449 times)
nala-naj
Regular nerd
**
Posts: 65



« on: September 06, 2003, 12:03:36 »

i have an NVidia GeForce4  440 Go card and if I go into my settings and check the option "Enable conformant OpenGL texture clamp behavior", i go from 300+ fps (unchecked) in my game, to 5 fps.

anyone know what this option does or if i could have my game assure that the option is off via some opengl setting?

thanks
Logged
cfmdobbie
Prolific Timewaster
****
Posts: 366



« Reply #1 on: September 06, 2003, 15:00:18 »

Googled from some nVidia docs:

Quote
Enable conformant OpenGL texture clamp behavior.  Enabling this option activates conformant OpenGL texture clamping. "Texture clamping" refers to how texture coordinates are handled when they fall outside the body of the texture. Texture coordinates can be clamped to the edge or within the image.


As for why it slows your application down, no idea!  Most sites Google returned mention it as a speed-up.  Just clamping texture coordinates in a certain way shouldn't cause that much of a performance hit, anyway.  You might want to bounce a question off nVidia and see what they say, or at least ask on some nVidia forums.

I would assume there is no way of checking whether or not it's enabled from code.
Logged

ellomynameis Charlie Dobbie.
cfmdobbie
Prolific Timewaster
****
Posts: 366



« Reply #2 on: September 06, 2003, 15:11:32 »

Right, a bit more research - from someone on Usenet:

Quote
that "comformant opengl texture clamp behavior" has something to do with the way the graphics are drawn onto your screen, some textures are drawn outside of the viewable screen, "over the edge" and clamp behavior clamps those textures right to the border of your monitor letting none escape.


It's probably interpolating between vertices to create vertices on the screen boundary, then interpolating the texture coords to make the new vertex texture correctly.  Nothing that shouldn't be done lightning fast in hardware, I'd have thought?

Well, whatever.  It's the kind of thing that you shouldn't worry about at all.  You as the developer have no way of knowing what the effect of that setting is on the performance of the application!  Just because your system with an MX440 on those particular drivers has a bad time of it, doesn't mean any other system will suffer.  Hopefully anyone who messes with the driver's OpenGL settings and notices a slowdown like that will have the good sense to click "Restore Factory Settings" and learn to leave things alone unless they know what they're doing.
Logged

ellomynameis Charlie Dobbie.
nala-naj
Regular nerd
**
Posts: 65



« Reply #3 on: September 06, 2003, 20:39:47 »

it is really that extreme... very weird.  i gave a demo to mojomonkey and he was getting 9fps, and he has the same card as i have... and that is how we figured out the settings.... anyway, strange is all i can say.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!