Intersection problem

New Message Reply Date view Thread view Subject view Author view

DONKERS H.C. (donh7++at++fel.tno.nl)
Wed, 19 Mar 1997 16:36:04 GMT+1


I have the following problem using the isect commando for pfNodes:

I want to know what the pfGeode is which I intersect. So, I
constrcuct a pfSegSet with the mode set to PFTRAV_IS_GEODE.
Then I call root->isect.
When a intersection is detected I do:

    pfGeode geode;
   geode = new pfGeode();

   hit->query(PFQHIT_NODE, geode);

But nothing happens, The masks of all the geometry is set to the same
value, but the resulting geode is empty.
hit->query(PFQHIT_POINT, vec) in the contrary works perfect, but I
want the Geode of the intersection point.

Who can help me.

===============================[INTER]================================
Jos D. van Loo TNO Physics and Electronics Laboratory
email: vanloo++at++fel.tno.nl Dep: Simulation
phone: +31 70 374 0269 P.O. box 96864
fax : +31 70 328 0961 2509 JG Den Haag
home : +31 70 361 7573 the Netherlands
www : http://vtd.fel.tno.nl/~floo
======================================================================

=======================================================================
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:54:54 PDT

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