There is an extension (ARB_texture_non_power_of_two) which lifts the
restriction, and OpenGL 2.0 requires the presence of this extension.
It is not, however, supported on all cards. AFAIK, the GeForce 6
family are the only hardware currently able to support this extension.
Can one of the lucky few who have received their GeForce 6800 Ultra
DDL cards confirm whether the extension is supported on Mac OS X?
-Keith
Funny enough I just filed a bug enhancement request for this a few days
ago (rdar://3890348) since I came across some DirectX PC code that
assumed now power of 2 can at least do GL_REPEAT (which
GL_RECTANGLE_EXT cannot) with normalized UV coords. This lead me to
believe that the support had existed in the hardware for a while and we
were just behind on the driver side (not an unreasonable hypothesis
given current history :).
Either that or the DX drivers are faking support by internally turning
them into pow2 textures (or something else) or the original PC code I
was looking at is just getting lucky since they only seem to check for
D3DPTEXTURECAPS_SQUAREONLY and not D3DPTEXTURECAPS_NONPOW2CONDITIONAL
which would have the same restrictions as our GL_RECTANGLE_EXT.
Anyone in the know want to comment on the current state of possible
hardware support for ARB_texture_non_power_of_two (ie. can any recent
cards do it?). Would be real nice to have in certain cases to avoid
some of the workarounds we have needed to use when substituting it with
GL_RECTANGLE_EXT.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden