• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AU with OpenGL GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU with OpenGL GUI


  • Subject: Re: AU with OpenGL GUI
  • From: Os <email@hidden>
  • Date: Wed, 24 Nov 2004 18:57:18 +0000

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.


cheers, os.


On 24 Nov 2004, at 18:06, email@hidden wrote:

A question to OpenGL AUViewers... do you still have to make texture
bitmap sizes n x n pixels where n is a power of 2? Or is there a way to
use n x m pixels at arbitrary length?

email@hidden
http://www.collective.co.uk/

_______________________________________________
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


  • Follow-Ups:
    • Re: AU with OpenGL GUI
      • From: Shaun Wexler <email@hidden>
  • Prev by Date: Re: AU with OpenGL GUI
  • Next by Date: Re: AU with OpenGL GUI
  • Previous by thread: Re: AU with OpenGL GUI
  • Next by thread: Re: AU with OpenGL GUI
  • Index(es):
    • Date
    • Thread