Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU with OpenGL GUI



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.

Caution--if you use the non-power-of-two extension, you lose some functionality (like texture wrapping, I believe). Also UV coordinates are specified differently (pixel-based instead of zero-to-one based).

Nope, you're thinking of NV_texture_rectangle, EXT_texture_rectangle, and ARB_texture_rectangle (all of which are essentially the same extension).


Those extensions are supported on all cards from the GeForce MXs and Radeons up, and even a special case (screen-aligned quads) is (unofficially) supported on the Rage 128.

ARB_texture_non_power_of_two has no restrictions. 0..1 texture coordinates, wrapping, mipmapping, &c all work exactly as for power-of-two textures. That's why the extension requires such new hardware :)

-Keith

_______________________________________________
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

This email sent to email@hidden
References: 
 >Re: AU with OpenGL GUI (From: Shaun Wexler <email@hidden>)
 >Re: AU with OpenGL GUI (From: Keith Bauer <email@hidden>)
 >Re: AU with OpenGL GUI (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.