Totally agree on the OSG books. They are must-read. 2013/5/23 Sergey Kurdakov <sergey.fo...@gmail.com>
> Hi Lokesh > > in http://www.packtpub.com/openscenegraph-3-0-beginners-guide/book on > support tab for the page of the book you may download sample code, > > in \2824_12_Code\2824_12_Code folder from download zip there is > sharing_textures.cpp which has a class > > class ReadAndShareImageCallback : public osgDB::ReadFileCallback > > you are looking for as example > > make something similar, but before loading texture - change extension > of loaded image > > I recommend to get existing osg books and read them - it will save you > a lot of time. > In India see > http://www.junglee.com/mn/search/junglee/ref=nav_sb_noss?url=search-alias%3Dstripbooks&field-keywords=openscenegraph > > Regards > Sergey > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org