From: Mario Veraart (Veraart++at++fel.tno.nl)
Date: 02/20/2001 03:31:02
Tim Woodard wrote:
>
> I would want to make these queries on a large database, so I don't know that
> this would be very efficient... Does performer maintain any spatial
> information about a scene graph, or is it at the mercy of the database
> organization?
>
> Tim
>
> Mario Veraart wrote:
>
> > Just call pfBox::contains(pfVec3& v) for every point of the polygon.
> > If all returns true the polygon is completely in.
Use the bounding spheres of the nodes and test it against the pfBox you have.
Use pfuTraverser to walk over the graph.
Mario
This archive was generated by hypermail 2b29 : Tue Feb 20 2001 - 03:32:07 PST