Re: textures

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose)
Sat, 3 Feb 1996 17:45:06 -0800


+>---- On Feb 3, 3:37pm, Ulrich J Lechner wrote:
> Subject: textures
->Hi there!
->
->I have a problem with my flt file:
->I get a warning as the dimensions of my textures are not of powers of two.
->Since perfly (ogldso) can load and show the textures there must be a way
->to do the same in my program (ogldso) without changing all the textures.
->Is there any specific library, path or include that I have to consider?

Perfly does nothing special.
The warning will be issued but the texture should still attempt loading.
Different machines may deal with this error situation differently - RE
will let you load it.
The officially correct behavior is to not texture at all.

The glu library has a utiltiy to scale your textures which you can
use while you debug - gluScaleImage(). You want to scale _down_
to the next power of two.
However, you definitely want to rescale your textures (/usr/sbin/izoom
from the eoe2.sw.imgtoos subsystem will do the trick).

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

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:52:21 PDT

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