Hi Marcus, > Indeed I did. So that's why it stopped working all of a sudden! Now > it's working again (I wasn't using the progress anyway.. at the moment). :)
great. > I was of course changing too much at once, so I never figured that was > what broke it. Because, if the cache-load fails, it loads the vrml > instead (with some complaints in the log) so I didn't spot it when I > made that change. > > Not that I know a lot about iostreams, but can't you use tellp() to get > the current position? Or do you seek to the end to see how long the > stream is? yes I use tellg for the current position but I need to seek to the end for calculating the stream length. Andreas > /Marcus > > Andreas Zieringer wrote: > >>Hi Marcus, >> >>hmm the osb reader shouldn't do any random access. The SceneFileHandler >>calls seekg to calculate the fileio progress. Did you use the read >>progress callback? >> >>Andreas >> >> >> >>>Hi Christoph, >>> >>>Just some related comments: >>> >>>I would like something like that as well, and I have written some very >>>basic framework for our application which allows pluggable >>>content-providers (file/zip/ftp/http, etc). I've only implemented file & >>>zip (via the ZipIOs lib). However, I ran in to a problem in my caching >>>system, since the .osb-reader seemed to require random-access to the >>>stream (I get an exception 'no random access' when trying to read >>>osg-files from a zipistream.). VRML works fine though. >>> >>>That might be something to watch out for, depending on what you're >>>trying to load. >>> >>>/Marcus >>> >>>P.S. I didn't mention this on the list at the time because it's just a >>>nice-to-have for us and I figured it might solve itself in 2.0 or so. :) >>> >>>Christoph Fünfzig skrev: >>> >>> >>> >>>>Hi all, >>>> >>>>I was absent from the list for some time now because I have handed in my >>>>PhD thesis. The procedure is not >>>>completely finished, but I think I am free for something new again. >>>> >>>>We would like to have a SceneFileHandler, which can access local and >>>>remote files via URL. >>>>Is there already such work? >>>>I have looked for libraries accessing remote files and there are some, >>>>but they are either quite large >>>>or they do not offer a C++ iostream interface. >>>>Implementation of accesssing remote files by C++ iostreams, seems to be >>>>quite similar to the zlibstream adapter >>>>for accessing compressed files. >>>>If you know a good library for this, this would be interesting.. >>>> >>>>Thanks, >>>>Christoph >>>> >>>> >>>>------------------------------------------------------------------------- >>>>Using Tomcat but need to do more? Need to support web services, security? >>>>Get stuff done quickly with pre-integrated technology to make your job >>>>easier >>>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>_______________________________________________ >>>>Opensg-users mailing list >>>>[email protected] >>>>https://lists.sourceforge.net/lists/listinfo/opensg-users >>>> >>>> >>> >>>------------------------------------------------------------------------- >>>Using Tomcat but need to do more? Need to support web services, security? >>>Get stuff done quickly with pre-integrated technology to make your job easier >>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>_______________________________________________ >>>Opensg-users mailing list >>>[email protected] >>>https://lists.sourceforge.net/lists/listinfo/opensg-users >>> >>> >>> >> >> >>------------------------------------------------------------------------- >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>_______________________________________________ >>Opensg-users mailing list >>[email protected] >>https://lists.sourceforge.net/lists/listinfo/opensg-users >> > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
