iR vs O2 textures

New Message Reply Date view Thread view Subject view Author view

Svend Tang-Petersen (svend++at++digi.lego.com)
Tue, 06 Jan 1998 19:29:30 +0100


Hi Performers.

I'm doing some development using Performer-2.1 on my O2 and Onyx2
InfiniteReality.

I've noticed a difference in the appeareance of textures on the two
graphics systems. On the O2 they
look fine, but on iR I get banding. i.e. the texture(s) look like it's
only 4 bit components and not 8.

I'm probably missing something when I load the textures or set the
texture environment:

 tev = new pfTexEnv();
 tev->setMode( PFTE_MODULATE );

 crystal_texture = new pfTexture;
 crystal_texture->setFormat( PFTEX_INTERNAL_FORMAT, PFTEX_RGBA_8 );
 crystal_texture->loadFile( "flare1.rgb" );
 crystal_texture->setRepeat( PFTEX_WRAP_S, PFTEX_CLAMP );
 crystal_texture->setRepeat( PFTEX_WRAP_T, PFTEX_CLAMP );

I'm using a pure white and no alpha on the polygon. Is there some
difference in the default
Performer/OpenGL settings.

--

Svend Tang-Petersen, MSc

LEGO Kloevermarken 120 7190 Billund Denmark

e-mail: svend++at++digi.lego.com

======================================================================= 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:56:31 PDT

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