Re: [osg-users] Load images from resources file (rc)

2012-05-15 Thread Sergey Polischuk
users-boun...@lists.openscenegraph.org] On Behalf Of Sergey PolischukSent: viernes, 11 de mayo de 2012 10:46To: OpenSceneGraph UsersSubject: Re: [osg-users] Load images from resources file (rc) As long as you know how to get raw data stream from wherever your resources are - you can write osgDB::ReadFileCallback

Re: [osg-users] Load images from resources file (rc)

2012-05-13 Thread Héctor Martínez
. Thank you! Cheers! From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Sergey Polischuk Sent: viernes, 11 de mayo de 2012 10:46 To: OpenSceneGraph Users Subject: Re: [osg-users] Load images from resources file (rc) As long

[osg-users] Load images from resources file (rc)

2012-05-11 Thread Héctor Martínez
Hi, does anybody know if it is possible to load images from a ‘.rc’ file in osg using osgDB::readImageFile? Thanks in advance ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Load images from resources file (rc)

2012-05-11 Thread Sergey Polischuk
As long as you know how to get raw data stream from wherever your resources are - you can write osgDB::ReadFileCallback where you override methods like MyReadFileCallback::result_tMyReadFileCallback::readObject(const std::string filename, const osgDB::Options* options){    //create stream