Scott McMillan (scott++at++ht.com)
Fri, 20 Sep 1996 11:23:42 -0400 (EDT)
If you install the Loader Source code from the CDROM you can build your own
inventor loader (in /usr/share/Performer/src/lib/libpfdb/libpfiv). However,
there is a bug/flakiness with either the N32/64 compiler or the code
itself and it won't compile the loader straight up. You have to change the
following to get it to compile (I probably should have used diff, right?):
// original code (pfiv.C lines 795-798):
SoGetBoundingBoxAction bba(SbViewportRegion());
bba.apply((SoNode *)node);
SbXfBox3f &bbox = bba.getXfBoundingBox();
const SbVec3f ¢er = bba.getCenter();
// replacement code:
SoGetBoundingBoxAction *bba =
new SoGetBoundingBoxAction(SbViewportRegion());
bba->apply((SoNode *)node);
SbXfBox3f &bbox = bba->getXfBoundingBox();
const SbVec3f ¢er = bba->getCenter();
delete bba;
Please let me know if this works for you.
scott
-- Scott McMillan | HT Medical, Inc. | Developing virtual environ- scott++at++ht.com | http://www.ht.com | ment medical and surgical Ph: 301-984-3706 | 6001 Montrose Rd., Ste. 902 | simulations and surgery Fax: 301-984-2104 | Rockville, MD 20852 | simulation creation tools.======================================================================= 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:53:35 PDT