Re: Adding and removing polygons

New Message Reply Date view Thread view Subject view Author view

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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Feb 17 2001 - 10:39:43 PST

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