David Megginson writes: > > Jim Wilson writes: > > > > Is this true that the textures get reloaded, and is there some way to share > > textures between objects and not just save disk space? > > Any comment, plib types?
SSG models should already be sharing textures based on 'Texture Name' see ssgTexture* ssgLoaderOptions::createTexture(..) and ssgTexture* ssgTextureArray::findByFilename ( .. ) for the mechanism used. Note that this can be changed see class ssgLoaderOptions and ssgSetCurrentOptions(). > We should also set up static model support > in the scenery loader so that each static model is loaded only once > and reference counted. This should be easy enough todo SSG will 'just do' the correct thing wrt to memory as long as the refcnt mechanism is respected Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel