Re: [osg-users] [osgPlugins] Loading a model

2009-10-06 Thread Tomlinson, Gordon
, October 03, 2009 10:26 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] [osgPlugins] Loading a model Hi, I have a problem to load a model by using this code: // load model osg::Node* pLoadedModel = osgDB::readNodeFile( C:\Programme\ADTF\2.1.1\lib\OpenSceneGraph-2.6.1\bin\tour.obj

[osg-users] [osgPlugins] Loading a model

2009-10-05 Thread Giering Joseph
Hi, I have a problem to load a model by using this code: // load model osg::Node* pLoadedModel = osgDB::readNodeFile( C:\Programme\ADTF\2.1.1\lib\OpenSceneGraph-2.6.1\bin\tour.obj ); if(!pLoadedModel) { std::cout Error: Couldn't find model! std::endl; }

Re: [osg-users] [osgPlugins] Loading a model

2009-10-05 Thread Thrall, Bryan
Giering Joseph wrote on Saturday, October 03, 2009 9:26 AM: I have a problem to load a model by using this code: // load model osg::Node* pLoadedModel = osgDB::readNodeFile( C:\Programme\ADTF\2.1.1\lib\OpenSceneGraph-2.6.1\bin\tour.obj ); if(!pLoadedModel) { std::cout

Re: [osg-users] [osgPlugins] Loading a model

2009-10-05 Thread Jean-Sébastien Guay
Hi Joseph, osg::Node* pLoadedModel = osgDB::readNodeFile(C:\\Programme\\ADTF\\2.1.1\\lib\\OpenSceneGraph-2.6 .1\\bin\\tour.obj ); I think using forward slashes instead (which don't need to be escaped) would work as well. Yep, and keeps visual clutter to a minimum: osg::Node* pLoadedModel