Ray Twiddy (rltwiddy++at++ohio.neiddd.com)
Mon, 8 Jul 1996 09:58:42 -0400
I am able to correctly retreive intersection points with other geosets in the
scene but not with those under a pfSwitch node. I have included PFTRAV_SW_ALL
in setting the mode of the pfSegSet but still no intersection:
segset.activeMask = 1;
segset.isectMask = 0xFFFF;
segset.discFunc = NULL;
segset.bound = NULL;
segset.mode =
(PFTRAV_IS_PRIM|PFTRAV_IS_NORM|PFTRAV_IS_CULL_BACK|PFTRAV_SW_ALL);
segset.segs[0].dir.set(0.0f, 0.0f, -1.0f); // down
segset.segs[0].length = 50000.0f;
My development environment is IRIX 5.3, Performer 2.0, and C++ on a Maximum
IMPACT.
I would appreciate any help on how to correctly test for intersection with
geosets under a pfSwitch?
--
Ray Twiddy | / ____/ /
NEI - Nomura Enterprise Inc. rltwiddy++at++neiddd.com | / / /
14240-G Sullyfield Circle Bus. (703) 818-1990 / | / ___/ /
Chantilly, VA 20151-1661 FAX (703) 818-7626 / / / /
___________________________________________________ __/ __/ _____/ __/
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ <--new!
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:09 PDT