[osg-users] PolytopeIntersection with LINE_STRIP_ADJACENCY

Jethro Leevers j.leevers at aamgroup.com
Thu Jun 2 18:34:40 PDT 2016


Hi,

I am currently trying to improve my picking process from a line segment intersector to a polytope intersector.

I am able to select all basic primitive types but an primitives made with LINE_STRIP_ADJACENCY are not pickable. Perhaps something to do with the TemplatePrimitiveFunctor?

Also what would be the best way to determine a normal, at the moment if the numIntersectionPoints > 2 I use the first three intersectionPoints to calculate a normal.

OSG 3.2.3

Thank you!

Cheers,
Jethro

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








More information about the osg-users mailing list