Hi / Hei,
When I use the new OpenFlight plugin, it seems that it loads every texture in the texture pallete (even those that aren't in use) for each external reference.
Correct, read on demand and internal caching of textures are not implemented. I'll put it on my todo list but if you need it now I suggest you make a submission yourself.
One sollotion could be that every loaded texture is cached.
Have a look at the CacheHintOptions in osgDB::ReaderWriter. Regards, Brede On 1/12/07, Joakim Simonsson <[EMAIL PROTECTED]> wrote:
Hi, I still use osg 0.9.7/0.9.8-2 to convert flt files to osg format. Since the newer ones(including Brede's) eats up all memory and makes the application crash(because there are no more addressable memory available). My flt database has hundreds of external references. Each external reference has a identical texture pallettes that contains hundreds of textures. But each external reference only use around 1-10 of them. When I use the new OpenFlight plugin, it seems that it loads every texture in the texture pallete (even those that aren't in use) for each external reference. This takes infinitely much time and memory. So before I dig deeper into this, I will ask all (especially Brede), if someone knows a quick fix to this problem. One sollotion could be that every loaded texture is cached. Comments? -- Joakim Simonsson _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
