pfBox & Collision Detection

New Message Reply Date view Thread view Subject view Author view

Joaquin Casillas Melendez (jcasilla++at++glup.eleinf.uv.es)
Wed, 07 Jan 1998 23:07:34 -0800


Hi pfAll!

I am using pfBox for doing some collision detection stuff, and I'm
getting confused with the results of pfBox::contains member function.
I have an active object whose bbox I want to test against several static
bboxes to detect any collision with the function contains. A collision
must be reported when any point of the active bbox is inside a static
bbox. I test the contains result with PFIS_MAYBE | PFIS_TRUE |
PFIS_ALL_IN, but it isn't working correctly in all cases.

What is the difference between PFIS_MAYBE and PFIS_TRUE? What is the
*exact* meaning of PFIS_MAYBE?

All objects in the dbase are axis-aligned, and I'm using Performer 2.1
with IR box.

Any help about this point will be appreciated.
Thanks.

-----------------------------------------------
 Joaquin Casillas Melendez mailto:jcasilla++at++glup.eleinf.uv.es
 LISITT (ARTEC) Phone: +34 6 360 4484
 Dept. Electr. & Informatics Addr: Hugo de Moncada 4.
 University of Valencia 46010 Val.(SPAIN)
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:32 PDT

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