[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

Read this topic online here:


More information about the osg-users mailing list