|
From: Richard H. <rj...@za...> - 2023-12-23 18:42:26
|
> 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. |