pfSegSet and collision detection

New Message Reply Date view Thread view Subject view Author view

jason allen bryan (jbryan++at++cis.ohio-state.edu)
Wed, 20 Oct 1999 17:56:09 -0400 (EDT)


does anyone know a situation where performer will fail to do an
intersection traversal on one or more segments in a pfSegSet?
after several experiments, i have determined that performer is
neglecting to do intersection tests with several segments i
have registered. i know performer can only do 32 segments per
frame. initially i had 24 segments registered, but at least 4
failed. registering 20 or fewer seems to work without any
problems. i have set up the segset as follows:
  segSet.activeMask = 0xFFFF;
  segSet.isectMask = 0x0001;
  segSet.discFunc = NULL;
  segSet.bound = NULL;
  segSet.mode = PFTRAV_IS_PRIM | PFTRAV_IS_NORM | PFTRAV_IS_CULL_BACK | PFTRAV_IS_CACHE;
the collision traversal is initiated after pfFrame (as the man page suggests)
by calling the isect() routine on the top DCS node of my scene.
also, performer is multiprocessing with forked draw and isect traversals.
my pfHit array is large enough (32) to hold all the intersections based on what the
man pages say. i'm assuming either i am not using the segset correctly, or there is
some specific song and dance i need to do to allow performer to evaluate each
segment.

please help!!


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Oct 20 1999 - 14:56:41 PDT

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