[osg-users] a limit of osg::ReaderWriter interface

lwren ren.lw at hotmail.com
Tue Mar 17 22:50:36 PDT 2009


Hi all,
    I notice that osg::ReaderWriter includes a series of interface like readNode(std::istream& ,const Options*) which read data from stream buffer and has no file name passed in.  There is a problem here when reading the file with a name like aa.ive.gz.curl.
The curl plugin read file data into a stream buffer, and then call plugin gz across the interface shown above which not realized in gz to read it further, so it failed!
The interface CAN'T be realized in gz for lack of a file name which is needed in gz to determini which  pluin to use in the followed step.

regards,
ren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090318/ebed6222/attachment-0002.htm>


More information about the osg-users mailing list