[quote]The point of Polytopes is that they are convex which makes 
all kinds of tests very easy. If you want to modell something 
non-convex (something like Constructive Solid Geometry) then 
PolytopeIntersector will not help you as it is.[quote]

My solutution was to triangulate the convex polygon I wanted to search using 
osgUtil::Tessellator and then use polytrope interceptor for each triangle.
I also looked at splitting the polygon into a number of convex polygons but 
there was no speed difference for polygons having <100 sides.

Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=14115#14115





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to