Re: Textures not powers of 2 ?

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.asd.sgi.com)
Tue, 17 Jun 1997 13:08:18 -0700


On Jun 17, 1:56pm, David Nouls wrote:
> Subject: Textures not powers of 2 ?
> Hello,
>
> We have a database with textures that are not powers of two. When we
> look at the scene with perfly_igl, the scene is correctly textured. When
> we use perfly_ogl, the textures are skewed.
>
> Some facts:
> We are using RE2 Onyx, Performer_eoe 2.0.4 and performer_dev 2.0.2, all
> recommended patches installed.
>
> We never noticed this effect with the older Performer 2.0 version, so I
> guess this might be a bug.

No, you just got lucky before.

Textures should always be a power of 2 on each edge. That is how they
end up in texture memory in anycase so it makes sense to choose your
resize policy.
It can be immensely wastefull to do otherwise, even getting lucky.

Cheers,Angus.

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:28 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.