PDA

View Full Version : NPOT texture dimensions on NV40



Won
07-06-2004, 11:05 AM
Still haven't gotten my GF 6800 yet...

Does anybody know if there is some cost to using NPOT texture dimensions on NV40? Is texture rectangle still better for things like render to texture?

-Won

PS NPOT = non-power-of-two

NitroGL
07-06-2004, 01:12 PM
Depends on how they implemented it in hardware. I don't think it costs any more than a standard 2D sample though, I mean it's not a state switch, so it can't cost more or less.

Edit:
Actually it is kind of a state switch, because the drivers can tell if it's not power of two, but I still don't think it would cost more.

cass
07-07-2004, 12:30 AM
NPOT is the same speed as regular 2D texturing for GeForce 6800.

Thanks -
Cass

flo
07-07-2004, 03:38 AM
Interesting. Recently I changed my pbuffer code to use the GL_TEXTURE_RECTANGLE_NV texture format even if GL_TEXTURE_2D would have work also. NPOT textures appeared to be significantly faster (about 10% in the final application, using a FX5600)

Won
07-07-2004, 09:58 AM
Thanks for the authoritative response, Cass.

What about RTT? Is it still better to use texture rectangle or can I just use NPOT?

What about 3D texutres?

-Won

PS looks like I'm getting it next week or so...