Hello.

Inside OpenSceneGraph-Data i have create a folder with name "mydata".
Even though the line:
ref_ptr<Node> node = osgDB::readNodeFile("mydata/model.dae");
loads the model, i cannot load shader files from the same directory.
The call shader->loadShaderSourceFromFile(fileName) fails.

The same happens with osganimationhardware example. It finds
nathan.osg, but not shaders/skinning.vert.

Do i do something wrong ?
Never had any problem loading models from openscenegraph-data.

thnx.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to