Spencer, Dan (DSR++at++trasys.be)
Wed, 28 Aug 96 17:33:00 +2
I am trying to use the pfFrustContainsBox function for collision
avoidance.
First of all I set up the variouse volumes required (boxs frustums etc),
then transform them using pfMultMat and pfOthoXformFrust etc.
This workd fine for box - box intersection but when I try to detect
collisions between a frustum (any type, perspective or orthoganal) and a
box, the pfFrustContainsBox function behaves like the pfBoxContainsBox
function (i.e. the distinctive shape of the frustum appears to be replaced
by a box which perfectly encloses the frustums dimensions).
Could it be that the function is approximating the frustum to a box for
performance reasons (PFIS_MAYBE is returned) ?
If so how can I force it to be more accurate (regarless of performance
costs) ?
Thanks for any help,
Dan.
=======================================================================
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:26 PDT