hi, you can custom a operation, and add it to thread, in the operation throw the function operator() visit the scene andd build kDtree for the node
thanks liu zhiyu 2012/10/28 wh_xiexing <wh_xiex...@sina.com> > ** > > osg users : > building kdtree makes it a long time to open a model file, > could i build kdtree in a background thread? if i can , how to do that ? > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org