[osg-users] Picking Polygons?

Martin Scheffler osgforum at tevs.eu
Mon Mar 30 06:24:39 PDT 2009


Hi Robert, thanks for your answer.

I now switched to use triangles for the intersection mesh. This works, but only if I disable using the KD tree for intersection testing. 

When I do 
>> intersectVisitor.setUseKdTreeWhenAvailable(true);
the primitiveIndex values are not correct. When I switch this to false everything works correctly.
I'm sorry I can't provide a better test case at the moment as I am in a hurry to get my stuff done.

Cheers,
Martin

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








More information about the osg-users mailing list