From: Mario Veraart (Veraart++at++fel.tno.nl)
Date: 02/16/2001 02:39:44
Tim Woodard wrote:
>
> Is there a way in performer to query which polygons fall into a given
> bounding box? Given these polygons, I need the ability to add remove
> polygons dynamically. There's mention of this in the performer programmer's
> guide in regard to using flux buffers, but no details are provided. What
> are some possible approaches?
>
Just call pfBox::contains(pfVec3& v) for every point of the polygon.
If all returns true the polygon is completely in.
Mario
This archive was generated by hypermail 2b29 : Sat Feb 17 2001 - 11:44:41 PST