HI Vincent, What you are doing should be OK, but I can't see that anyone can help point to what the problem without you providing at least a stack trace, and ideally a test model to look at.
Robert. On Fri, Jun 5, 2009 at 5:06 PM, Vincent Bourdier<[email protected]> wrote: > Hi all, > > I've got a crash on loading an ive file made by osgExp and opened/saved by > osg 2.6.1 next, because of the Kd Tree built. > > I use : > > > osgDB::Registry::instance()->setBuildKdTreesHint(osgDB::ReaderWriter::Options::BUILD_KDTREES); > > and I load the models after that. > > If I remove his line, the model load correctly. > > I use osg 2.8.1 now, and I cannot use this model ... do I need to open/save > the file exported by 3dsmax with osg 2.8.1 ? > Do I need to set the KDTree to do that ? > Do I set the KDTree correctly ? > > Thanks for your help, any suggestion would very appreciated. > > Regards, > Vincent. > > _______________________________________________ > 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

