Hi Abhinav,
i am trying to read an iv file but its not being read. the code i am using is : *********************************************************** SoInput sceneInput; if ( !sceneInput.openFile( "plugins\\graphs\\myInventor.iv" ) ) { QMessageBox::information(mInventorGrid[3], "Error", "Cannot open file requested iv file"); return; }SoSeparator *sc_root = SoDB::readAll( &sceneInput ); sc_root->ref(); //// Use one of the convenient SoQt viewer classes. mViewer = new SoQtExaminerViewer(iv_widget); mViewer->setSceneGraph(sc_root); mViewer->setDecoration(false); mViewer->show(); ***********************************************************
That's OpenInventor (and some Qt) code. Are you using OSG or OpenInventor? This is an OSG mailing list, and though OSG has an .iv loader, we can't help you debug OpenInventor code. Please go to the appropriate forum/mailing list for that.
J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

