Brian Furtaw (brian++at++sgi.com)
Tue, 17 Dec 1996 20:20:50 -0500
I really think you need only use the pfTexture::setFormat() method. Your
textures are probably being read in as 8bit per component when you wish to have
16bit per component. Try this if your using Perf2.X and C++
assume ..... pfTexture *texture = new pfTexture;
texture->setFormat(PFTEX_IMAGE_FORMAT, GL_RGB16_EXT);
or
texture->setFormat(PFTEX_IMAGE_FORMAT, GL_RGBA16_EXT);
or to stay within Performer settle for 12bit per component
texture->setFormat(PFTEX_IMAGE_FORMAT, PFTEX_RGBA_12);
I would think any of these will slow things down a bit. Let me know how this
works out.
Brian
On Dec 17, 12:29pm, Rob Jenkins wrote:
> Subject: Re: 16-bit per channel textures
> Hi Scott
>
> Please could you provide a more detailed definition of the problem with info
> like:
>
> The platform, OS, Performer version, patches installed and more detail on how
> the textures seem incorrect ( a screen snapshot would be useful ). Also
sample
> code ( ideally a sort example that shows the problem our relevant snippets of
a
> large app )
>
> If you'd like to be able to track your problem to solution I'd suggest you
log
> a support call with the TAC, including such details as above. You can call
the
> TAC on 1-800-800-4SGI ( 4744). If you mail me the call reference number I'd
be
> glad to pick the call up and work through it with you. That way you have a
> reference number and single contact person.
>
> Some stabs in the dark below :-)
>
> If you're seeing banding ( quantisation ) in the textures then that may just
be
> a feature of the fact that to are using 16 bit textures. RGBA 16 bit = 4
> bits/component so a greyscale going from black to white would only have 16
> discrete levels of grey and would tend to have bunching of values around
those
> levels.
>
> If you're using Impact please make sure you have patch 1447 ( for Irix 6.2 )
or
> 1332 ( for Irix 5.3 )
>
> If you're using iR please make sure you have patch 1355.
>
> If you have Performer 2.0 please make sure you have the correct pf 2.0
> patch/patches:
>
> There are three patches:
> patch 1414 for IRIX 5.3-6.1 (requires that you have Performer2.0).
> patch 1392 - dev for IRIX 6.2 (requires that you have Performer2.0).
> patch 1347 - eoe for IRIX 6.2
>
> You may have a conflict between your texture defition anfd the internal
format
> Performer is using to store the textures ( see man page for pfTexture esp
> setFormat method ).
>
> You may not be achieving the frame buffer config you asked for ( if using RE2
> or iR ), try checking what you got ( use xwininfo -tree then -id outside code
> or in code look at pfGetWinFBConfig etc ).
>
> Cheers
> Rob
>
> On Dec 17, 11:51am, Chrysa Caulfield wrote:
> > Subject: 16-bit per channel textures
> > Please reply to Scott Brown. Thanks.
> >
> >
> > --- Forwarded mail from sbrown++at++rttc.redstone.army.mil
> >
> > Date: Mon, 9 Dec 1996 08:25:16 -0800
> > To: webmaster++at++www.sgi.com
> > From: sbrown++at++rttc.redstone.army.mil (Scott Brown)
> > Reply-To: sbrown++at++rttc.redstone.army.mil
> > Subject: Mail from WWW
> >
> > return_url_label: [Return to Previous Document]
> > return_url: /Archive/FAQs/performer/
> > name: Scott Brown
> > ftype: ffb
> > email: sbrown++at++rttc.redstone.army.mil
> > company: Amtec Corp.
> > location: North America
> > user_agent: Mozilla/2.0 (compatible; MSIE 3.0; Windows 95; 1280,1024)
> >
> > I'm interested in displaying 16-bit per channel textures in Performer.
I've
> > constucted a database with 16-bit textures but Perfomer doesn't seem to
> display
> > the textures correctly. Is this a bug in Performer and if so, is a patch
> > available.
> >
> >
> > --
> > Received from: (136.205.91.87)
> >
> >
> > ---End of forwarded mail from sbrown++at++rttc.redstone.army.mil
> >
> > --
> > ___
> > |___| Chrysa Caulfield, ASD Marketing 415-933-6549 phone
> > | Silicon Graphics Computer Systems 415-964-8671 fax
> > / \ 2011 N. Shoreline Bvd, MS 8L-800
> > /\/ \/\ Mountain View, CA 94043-1389 chrysa++at++asd.sgi.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
> >-- End of excerpt from Chrysa Caulfield
>
>
>
> --
> ________________________________________________________________
> Rob Jenkins mailto:robj++at++csd.sgi.com
> Silicon Graphics, Mtn View, California, USA
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Rob Jenkins
-- o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-oBrian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office: (301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer ======================================================================= 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:54:11 PDT