Re: Texture loading problem

New Message Reply Date view Thread view Subject view Author view

Gordon (gordon++at++apollo13.demon.co.uk)
Thu, 20 Mar 1997 09:52:51 GMT


On Wed, 19 Mar 1997 13:48:05 +0100 (MET), you wrote:

>
>Hi,
>
>When I use perfly (Performer 2.1) on our Onyx2 and O2 machines to display
>.lsb files containing textures (.rgb files) with an odd width, the textures
>are mangled. My guess is that this happens during the scaling to a power of 2,
>as the textures already appear mangled during the 'preview' when they are
>loaded. However, when we use the same textures in a vrml dataset they are
>loaded (scaled?) correctly. I find this strange, because I assume that the
>texture loader is independent of the data loaders. Is this a known bug, and
>if so, is there a fix (other than resizing the textures)?

Performer requires that ALL textures be a power of 2 in u and v,
use imginfo on the file(s) to get the size and resize them to powers
of 2 if you can. ( it is not a bug but makes for more efficient use of
texture memory)

Gordon Tomlinson

***************************************************************
Email: gordon++at++apollo13.demon.co.uk
WWW: http://www.apollo13.demon.co.uk
***************************************************************
The Truth is out there ...........
Smoke me a Kipper I'll be back for Breakfast .....
***************************************************************
===================================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:54:55 PDT

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