pfuInitClipCenterNodeClass????? MR 2.2

New Message Reply Date view Thread view Subject view Author view

H. Scott Brabson (sbrabson++at++chesapeake.net)
Thu, 18 Dec 1997 04:58:54 -0500


Hello All,

I am running Performer 2.2 MR and have come across a problem. My app is
a C++ program that compiles the C API of Performer using the
-DPF_CPLUSPLUS=0 flag. I trying to load flt files in the DBASE process
that have cliptextures associated to them. I get the following error
messages from the APP process when my application starts up:

.....
21834 PF Debug/Usage: pfuInitClipCenterNodeClasse() should be called
before pfConfig() for multiprocessed operation
21834 PF Debug/Usage: pfuTextureManagerClasse) should be called before
pfConfig() for multiprocessed operation
......
In the DBASE process when I load any flt files with a cliptexture I get
the following:
.....
21844 PF Info: pfdLoadFile_flt: database test.flt
21844 PF Debug/Internal: pfUpdatable::pf_addUpdate not called from APP
process=PID:21844 DBASE ,Updatable=pfFrameStats
21844 PF Debug/Internal: pfUpdatable::pf_addUpdate not called from APP
process=PID:21844 DBASE ,Updatable=pfFrameStats
21834 PF Warning/Usage(35): pfuTexGenClipCenterNode post-app callback
called,
21834 PF but clip texture not defined or not attached to a pipe.
21834 PF Use pfuProcessClipCenters() and pfuAddMPClipTexturesToPipes()
....
The geometry never get attached to the scene.

So, I added the two functions pfuInitClipCenterNodeClass() and
pfuInitTextureManagerClass() before pfConfig.
The only way I could get the App to compile and link correctly was to
add the following to the top of the file.

extern "C" {
extern void pfuInitTextureManagerClass(void);
extern void pfuInitProcessManagerClass(void);
extern void pfuInitClipCenterNodeClass(void);
}

The same error messages at run time were produced.

Has anyone else seen this? Is there a way to fix this? Is this a loader
problem? When I ran the same flt file using Performer 2.2A341 everything
seems to work fine. Although the above calls before pfConfig were not
required. Is this a loader problem? I also noticed that the
pfuClipCenterNode.h and pfuTextureManager.h does not have the
PF_CPLUSPLUS define around the C code instead the __cplusplus token is
used. Could this be creating a problem?
Any help would be much appreciated.

Thanks and Happy Holidays!

Scott Brabson
DCS Corporation
sbrabson++at++southernmaryland.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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:27 PDT

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