From: Paolo Farinelli (paolo++at++sgi.com)
Date: 01/23/2004 20:02:36
Hi faculaganymede,
Thanks for reporting this. It looks like Performer expects
pfTexture::setImage to be called before pfTexture::setFormat.
Doing this should work-around the problem.
Regards,
Paolo
faculaganymede wrote:
>Hi all,
>
>Taking any Performer sample C++ source code, I noticed
>that whenever I add the follwing two lines:
>
>pfTexture *pfTex=new pfTexture;
>pfTex->setFormat(PFTEX_EXTERNAL_FORMAT,
>PFTEX_PACK_16);
>
>I get this error message at run time (on both PC
>running Performer 3.0.2 and on an Onyx300 running
>Performer 3.0):
>--------------------------------
>
>PF Notice: pfTexture - bad number
>of components 65535 - use pfTexImage to set in range
>[1-4]
>
>--------------------------------
>
>Is this a bug?
>
>
>=====
>Thanks,
>faculaganymede
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free web site building tool. Try it!
>http://webhosting.yahoo.com/ps/sb/
>
>-----------------------------------------------------------------------
> 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/
>-----------------------------------------------------------------------
>
>
>
>
-- Paolo Farinelli paolo++at++sgi.com Member of Technical Staff, OpenGL Performer 1-650-933-1808 Silicon Graphics 1600 Amphitheatre Pkwy, Mountain View, CA 94043
This archive was generated by hypermail 2b29 : Fri Jan 23 2004 - 20:02:49 PST