Frederic Francis (fred++at++llogic.com)
Tue, 18 Mar 1997 01:42:24 -0800 (PST)
The following piece of code works fine on 6.2 systems (including
Indigo2Impact) but fails on the Onyx2.
///////// START OF CODE /////////////////
#include <Performer/pf.h>
#include <Performer/pr/pfGeoSet.h>
void main (void) {
pfInit();
pfMultiprocess(0);
pfConfig();
pfGeoSet *gset = new pfGeoSet;
int *primLength = (int *) new(sizeof(int)) pfMemory;
primLength[0] = 4;
cerr << " INITIAL primLength pointer: " << primLength << endl;
gset->setPrimLengths(primLength);
cerr << " RETRIEVED primLength pointer: " << gset->getPrimLengths() << endl;
pfExit();
}
/////////END OF CODE /////////////////
6.2 Output:
INITIAL primLength pointer: 0x18040a50
RETRIEVED primLength pointer: 0x18040a50
6.4 Output:
INITIAL primLength pointer: 0x500409d0
RETRIEVED primLength pointer: 0x0
Unfortunately, I don't have cvd running on the Onyx2 yet to see if the
problem is the setPrimLengths or in the getPrimLengths. I am confused (even more
than usual). Any thoughts ?
Thanks in advance,
Fred.
Frederic Francis
Lateral Logic
=======================================================================
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:54 PDT