Re: AU with OpenGL GUI
Re: AU with OpenGL GUI
- Subject: Re: AU with OpenGL GUI
- From: Shaun Wexler <email@hidden>
- Date: Wed, 24 Nov 2004 12:15:07 -0800
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?
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden