Hi Eric, The functions are virtual, so it is up to each loader to override it and implement the functionality. Most of the image loaders should support reading from streams. I have been using this feature for a long time now and it works really well.
Cheers, Farshid On Tue, Mar 1, 2011 at 9:09 AM, Eric Sokolowsky <[email protected]> wrote: > I was perusing the source code and was surprised to see that in > osgDB/ReaderWriter there are stub functions for reading images from streams > but that they are all disabled, returning > ReadResult(ReadResult::NOT_IMPLEMENTED). Is it the case that nobody has > needed this functionality yet, or are there other technical reasons for > this? I am interested in reading image streams over the network using > sockets, and to do that I'll probably create a class that will derive from > std::streambuf to read information over sockets. Is anyone else doing this > sort of thing? > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

