Re: [osg-users] converting any 3d models to osg,osgb or osgt

2016-10-24 Thread Uma Devi Selvaraj
Hi Trajce, Thanks for the reply :). ... Thank you! Cheers, Uma -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69127#69127 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] converting any 3d models to osg,osgb or osgt

2016-10-24 Thread Trajce Nikolov NICK
Hi Uma, have a look at the osgconv code it is very thin applet. What you do is simply: osg::Node* model = osgDB::readNodeFile("filename.ext"); osgDB::ReaderWriter::WriteResult result = osgDB::Registry::instance()->writeNode(model,"fileNameOut.osgb"); or

[osg-users] converting any 3d models to osg,osgb or osgt

2016-10-23 Thread Uma Devi Selvaraj
Hi all, I need to convert 3d Models(.3ds,.ply,.obj,.. ) to osg or osgb or osgt using code. I know that by running "osgconv input output" command in console will do conversion. Is there any option using osgconv in c++ code. If so how to use osgconv in code ..?? ... Thank you! Cheers,