Gan Wang (gan++at++cavalier.cambridge.com)
Fri, 8 Nov 1996 11:12:30 -0500
pfGetTerrainMorphGSets(terrain, gsetList);
gset = (pfGeoSet *) pfGet(gsetList, 0);
At this point I look at the gset isect mask and it's 0xffffffff or the default
as said in the man page. But
pfGSetIsectSegs(gset, &segset, hits);
yields no intersection hit. (my segset.isectMask is also set to 0xffffffff.)
But if I explicitly set the gset isect mask every time before the
pfGSetIsectSegs() call, e.g., pfGSetIsectMask(gset, 0x1, PFTRAV_SELF, PF_SET),
the isect would yield the correct result.
Am I missing something really dumb?
Gan
--Gan Wang
Cambridge Research Associates Voice: 703-790-0505 ext.7210 1430 Spring Hill Road, Suite 200 Fax: 703-790-0370 McLean, VA 22102 E-mail: gan++at++cambridge.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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:55 PDT