OR (Matthias.Bues++at++iao.fhg.de)
Tue, 14 Mar 1995 15:41:52 GMT
I also got a problem concerning libpf intersection testing
(pfSegsIsectNode) .
What I want to do is intersection testing between a SegSet which
represent sort of a hand geometry and arbitrary objects in the scene
graph. As these objects are moveable, they usually got one or more
pfDCS above them. What I do in each frame is the following:
1. Calculate the global coordinates of my line segment end points
and create the appropriate pfSegs structure.
2. Call pfSegsIsectNode (with the pfDCS above the actual object as the
first argument) and examine the results.
Things seem to work properly until I put some scaling into the pfDCS.
Then it looks as if I still get intersections within the extents of
the unscaled object. When I put a preTravFunc to the nodes and
examine their bounding spheres, I find that the Bounding sphere of the
DCS is transformed, but the one of the node is not . I anyway don't get
a hit on the transformed bounding sphere, even if I set the Intersection
method to PFTRAV_IS_GEODE. The traversal then continues in the
node below, but doesn't deliver a positive result.
How can I get things working ?
Thanks for any hint. My email address is Matthias.Bues++at++iao.fhg.de
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:04 PDT