You will need to point CMake to the Collada libraries when you build the OpenSceneGraph project. I believe there's a copy of them in the prebuilt 3rd party dependencies that are distributed along side OSG. After that you you should get a DAE plugin inside of the OSG projects list. This will enable you to load collada files.
Regards, Kim. On 26 February 2012 15:47, Peterakos <[email protected]> wrote: > Hello. > > I have to load a .dae model in my scene and i was wondering if there is > any code example. > > I use the following code > osg::ref_ptr<osg::Node> root = osgDB::readNodeFile( "bmw.dae" ); > but i get a warning: Could not find plugin to read objects from file > "bmw.dae". > > I have built OpenSceneGraph code, but there isn't any project for this > extension in the solution's plugin project list. > > How can i proceed ? > > Thank you for your time. > > _______________________________________________ > 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

