Re: [info-performer] Mysterious pf Internal Warning

Date view Thread view Subject view Author view

From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 04/30/2003 19:38:29


Hi Goncalo !

> I also get the following although not related to MultiTexturing.
>
> PF Warning/Internal: pfdStoreFile_pfb: find_in_table() could
> not find 7681 (0x1e01) in Texture Environment Mode table.

Do you specify a texture environment mode (using pfTexEnv::setMode or
pfTEnvMode) outside of the scope:

                                PFTE_MODULATE,
                                PFTE_BLEND,
                                PFTE_DECAL,
                                PFTE_ALPHA

These are the only modes that the pfb loader supports (this is a bug). It
should also support: PFTE_REPLACE and PFTE_ADD.

You can easily fix it yourself in the pfb loader source code:

    /usr/share/Performer/src/lib/libpfdb/libpfpfb/pfpfb.c

(look for tem_table). I'll put the fix in the next release.

>
> Any ideas would also be appreciated.
>
> Goncalo
>
> >
> > PF Warning/Internal(2): pfdStoreFile_pfb: find_in_table() could not
> > find -1 (0xffffffff) in Texture Internal Format table.
> >

Do you specify texture internal format (using pfTexture::setFormat or
pfTexFormat) outside of the scope:

                                 PFTEX_RGB_5,
                                 PFTEX_RGB_4,
                                 PFTEX_RGBA_4,
                                 PFTEX_I_8,
                                 PFTEX_IA_12,
                                 PFTEX_I_12A_4,
                                 PFTEX_RGBA_8,
                                 PFTEX_RGB_12,
                                 PFTEX_RGBA_12,
                                 PFTEX_I_16,
                                 PFTEX_IA_8,
                                 PFTEX_RGB5_A1

These are the Performer-supported formats. If you require another format,
you have to change the pfb loader to accept the new format (look for
txif_table).

-yair

-- 
\_________  \_____  \__    \__  \_____        
\_________  \_____   \__   \__  \_____         Yair Kurzion
       \__     \__   \____\__      \__         yair++at++sgi.com
       \__          \__  \__                  (650) 933-6502
       \__          \__   \__          
       \__          \__    \__             


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 19:38:42 PDT

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