Hi folks,

I found some problem which I'm not able to solve easily.
I try to pack a large number of files in to an osga archive. This works pretty well, but it will fail if I try to archive nodes which contain PagedLODs. They get loaded by the DatabasePager, which is not what I want, as the paged nodes will be added to the archive as well. First of all this doubles the amount of data in the archive, as all PagedLOD get loaded and the resulting graph is being saved to the archive. Secondly this will applications which try to load the archive, as the saved paged nodes will contain the source path in the _databasePath member. I didn't check but I guess same is true for images. (my original files contain no paths, as they files are all in one directory) Is there a way to prevent osgDB::readNode from resolving PagedLODs without adding a custom NodeLoadCallback?

Also: will loading a file which is referenced inside the archive work without additional tricks?

cheers
Sebastian
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to