|
From: TheFGFSEagle <the...@gm...> - 2023-12-23 20:35:39
|
> However do remember that once created the cached image will not be recreated. … then we definitely should add an Nasal API to force that, I think ! Am Sa., 23. Dez. 2023 um 19:43 Uhr schrieb Richard Harrison <rj...@za... >: > > This looks just it would just require tieing > SGSceneFeatures::instance()->setMaxTextureSize() > ... > the resizing code in simgear/scene/model/ModelRegistry.cxx lines 428-450 > do its stuff. > > Richard - any reason this wouldn't Just Work? > > that should work fine; however do bear in mind the original purpose of the > max texture size is to try to make sure that the textures will not be too > big for the GPU. > > Maybe encode something into the filename to trigger this and/or provide a > hint about the resizing that should be applied. > > However do remember that once created the cached image will not be > recreated. > > > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > |