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;
}
m_pTransform->addChild(pLoadedModel);
GetRoot()->addChild(m_pTransform.get());
The readNodeFile can't find the tour object-file. Where needs the file to be
stored? Must I compile the obj-plugin? How Can I compile this plugin?
Thank you!
Cheers,
GI Jo
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17829#17829
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org