Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion non-power of two textures
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
BGB  
View profile  
 More options Aug 5 2012, 12:15 pm
Newsgroups: comp.graphics.api.opengl
From: BGB <cr88...@hotmail.com>
Date: Sun, 05 Aug 2012 11:15:31 -0500
Local: Sun, Aug 5 2012 12:15 pm
Subject: Re: non-power of two textures
On 8/5/2012 10:29 AM, fungus wrote:

> On Saturday, August 4, 2012 8:33:17 PM UTC+2, Temia Eszteri wrote:

>> In this case, I think the suggestion Nobody wrote out would already
>> allow a check to make sure - failing an extension return, check the
>> OpenGL version and variant, and should it be appropriate, it's worth a

> I think the best/simplest check is to try
> and create a non-power-of-2 texture and
> see if it fails. This is similar to using
> a proxy texture in OpenGL to check the
> hardware capabilities.

> OTOH you have to decide what to do when it
> fails. Will you just abort? Will you have
> a load of angry customers?

> I say it's better to regard non-PO2 as
> a luxury. Write your program as if it's
> not available. Use it to improve image
> quality and/or memory usage when it is.

> Resizing images as you load them from
> disk is no big deal. It should add no
> more than a couple of hours development
> time. Not doing it seems like incredible
> laziness to me.

pretty much, and also if the resampling code uses bicubic interpolation
or similar, the visible impact of resampling may be, in-fact, fairly
small (granted, it is a little more expensive, both in time and
implementation effort, than using bilinear interpolation).

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.