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



Non-Power-of-two textures are still an extension with OpenGL 1.5 (although
widely supported). It was promoted to the core with OpenGL 2.0... which I
hope we see soon.

Richard

On 11/24/04 3:15 PM, "Shaun Wexler" <email@hidden> wrote:

> On Nov 24, 2004, at 10:57 AM, Os wrote:
> 
>> other people have posted already on the below, so I'll just add - you
>> can of course just pad out your arbitrary texture rectangles to powers
>> of 2, and then use UV coords in the appropriate range.
>> 
>> e.g. if your texture is 80x80, pad it up to 128x128 and then use uvs
>> in the range (0, 80/128)
>> 
>> I've a notion that on some cards using the NV_TEXTURE_RECTANGLE
>> extension is less efficient for texturing use, but I've nothing to
>> back that up off the top of my head.
> 
> I believe that an update to OpenGL (1.5?) has eliminated the
> non-power-of-two restriction, and rectangle textures are now supported
> on all cards.  Not sure if this has made it into Mac OS X yet or not.
> Please excuse the cross-post, but I believe someone on Mac-OpenGL could
> better answer this?

 _______________________________________________
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>)



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.