Re: [info-performer] 12 bit IA and RGBA texture

Date view Thread view Subject view Author view

From: Per Fahlberg (per.fahlberg++at++saab.se)
Date: 01/08/2004 23:49:34


Hi faculaganymede,

We have had the exact same problem and concluded that the data loded
into Performer is not in the correct format. So we used our own
rgb-loder to load the textures if we are using 12 bit textures. I'm not
sure but I don't think this is exactly a Performer problem since if you
try to open a 12 bit texture with ipaste it won't show, this suggests
that there is a problem with the image library used by Performer (and
ipaste).

It would be great if someone on the Performer team could look into this
problem

Regards
/Per

faculaganymede wrote:
>
> By the way, I am working on an Onyx 300 -
> InfiniteReality3,
> running IRIX 6.5.20m and Performer
> 3.0.
>
> --- faculaganymede <faculaganymede++at++yahoo.com> wrote:
> > Date: Thu, 8 Jan 2004 11:26:33 -0800 (PST)
> > From: faculaganymede <faculaganymede++at++yahoo.com>
> > Subject: 12 bit IA and RGBA texture
> > To: SGI Performer MailList <info-performer++at++sgi.com>
> >
> > Hi all,
> >
> > Happy New Year! I've got a question on 12 bit IA
> > and
> > RGBA texture.
> >
> > We have two OpenFlight models, one has a 12 bit IA
> > texture and the other has a 12 bit RGBA texture. I
> > read the models with Perfly but the textures were
> > not
> > shown correctly; the 12 bit texture appears as if
> > only
> > the lower 8 bits of texel are being used.
> >
> > I've also written a small program to traverse the
> > model node and modify the texture internal format to
> > PFTEX_IA_12 and PFTEX_RGBA_12, respectively, but
> > that
> > did work either:
> >
> > pfTexture::setFormat(...PFTEX_INTERNAL_FORMAT...)
> >
> > Any suggestions are welcomed? Is this an OpenFlight
> > Loader problem? Please advise.
> >
> >
> > =====
> > Thanks,
> > faculaganymede
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Hotjobs: Enter the "Signing Bonus"
> > Sweepstakes
> > http://hotjobs.sweepstakes.yahoo.com/signingbonus
> >
>
> =====
> Thanks,
> faculaganymede
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
> Download OpenGL Performer 3.1 Early-Access Alphas:
> ftp://download.sgi.com/pub/access/projects/performer/download/3.1EA/
> -----------------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jan 08 2004 - 23:52:43 PST