Re: [osg-users] [forum] Pls help me! Why osgDB::readNodeFile return a NULL value!

2014-11-02 Thread Chris Hanson
On Sun, Nov 2, 2014 at 5:54 AM, Robert Osfield wrote: > Another possibility is that you may not have set up the paths to the > directory that contains the plugin directory. This is the most common failure. Ensure OSG is able to find the plugins. Also, turn up the OSG NOTIFY settings to DEBUG:

Re: [osg-users] [forum] Pls help me! Why osgDB::readNodeFile return a NULL value!

2014-11-02 Thread Robert Osfield
Hi Nguyen, There a range of things that can result in the readNodeFile() from return NULL. You don't really provide any details about what type of file you are attempting to load, it may or may not be of a type that the OSG can load. Another alternative could be that you simply haven't set the p

[osg-users] [forum] Pls help me! Why osgDB::readNodeFile return a NULL value!

2014-11-02 Thread Nguyen Quang Nam
Hi, I am a new OSG, nice to meet everyone! i has a problem when i do a MFC project. my osgDB::readNodeFile() always return NULL! (pic) sorry i can not upload a picture. This is link: ( space between 'uphinhnhanh.' and 'com'. Code: void cOSG::InitSceneGraph(void) { mRoot = new osg::Gr