Hi, I'm trying to read a file extension .dae (COLLADA) version 1.4.0, using
openSceneGraph version 2.4, but I'm getting the information that has no plugin
todo the reading.How do I solve this? int main(){osg::Group* cenario = new
osg::Group();osg::Geode* GeodeTerreno = new osg::Geode();osgViewer::Viewer*
viewer = new osgViewer::Viewer();// Define a estrutura para o modelo 3D da nave
espacialosg::Node* sphere =
osgDB::readNodeFile("BaseEsfera.dae");osg::MatrixTransform*
matrizTransformacoesSphere = new
osg::MatrixTransform();matrizTransformacoesSphere->addChild(sphere);cenario->addChild(matrizTransformacoesSphere);//
run optimization over the scene graphosgUtil::Optimizer
optimzer;optimzer.optimize(cenario);viewer->setSceneData(cenario);return
viewer->run();}
_________________________________________________________________
Instale a Barra de Ferramentas com Desktop Search e ganhe EMOTICONS para o
Messenger! É GRÁTIS!
http://www.msn.com.br/emoticonpack_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org