Hi Ale, There isn't any way for me to know what might be amiss with the details provided.
You have your code, your data and the potentially the whole OSG source code (it's easier to debug if you've built the OSG yourself) so should be in a good position to step through your own and the OSG code to see what is happening. For instance putting a break point into the OpenSceneGraph/src/osgDB/DatabasePager.cpp where the kdTree code is to see whether it's being invoked and if not why not. This should give you clues to why things aren't working as desired and how then you might fix them. Robert. On 7 December 2016 at 09:58, Ale Maro <[email protected]> wrote: > Hi Robert, > > I already tried to set the hint before loading any data but > drawable->getShape() returns always NULL. > It works fine if I call kdtree->build(...) and then > drawable->setShape(kdtree) explicitly. > > I am not sure if DatabasePager and KdTrees works automatically only using OSG > IO plugins. > > Ale > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=69624#69624 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

