[osg-users] RayIntersector with KdTree causes a crash

Ale Maro sasha71 at teletu.it
Fri Jul 27 01:06:18 PDT 2018


Hi Robert,

my colleague reproduced the crash by modifying the osgPick example.
He created a sphere with a negative scaling transformation, build the kdtree and attached to the osgPick scene.
It crashes at the first intersection calculation.
If you do not build the kdtree or if the scaling transformation is positive it does not crash.

Attached is the modified osgPick.cpp

Thank you.

Best regards
Ale

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




Attachments: 
http://forum.openscenegraph.org//files/osgpick_163.cpp




More information about the osg-users mailing list