Svend Tang-Petersen (svend++at++digi.lego.com)
Tue, 06 Jan 1998 19:29:30 +0100
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:31 PDT