[osg-users] Image file loading

Julie Green laroux92 at mail.ru
Mon Aug 24 23:02:11 PDT 2015


Hi,
I have a problem with image file loading

Code:

std::string path("D:/i.png");
osg::ref_ptr<osg::Image> image = osgDB::readImageFile(path);



The file is there, but my application doesn't load it.

Thanks for your help!

Cheers,
Julie

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64881#64881








More information about the osg-users mailing list