Closed rdb closed 1 year ago
Textures are currently loaded along model-path, and panda3d-gltf permanently prepends the glTF directory to the model-path in order to find the texture. This has undesirable side-effects, such as described here: https://discourse.panda3d.org/t/pandas-caching-system-has-many-issues/28995
Instead, the glTF converter should do what Panda's egg loader does:
load_texture()
set_filename()
It would need to be tested that this change works with all texture conversion modes.
Textures are currently loaded along model-path, and panda3d-gltf permanently prepends the glTF directory to the model-path in order to find the texture. This has undesirable side-effects, such as described here: https://discourse.panda3d.org/t/pandas-caching-system-has-many-issues/28995
Instead, the glTF converter should do what Panda's egg loader does:
load_texture()
set_filename()
It would need to be tested that this change works with all texture conversion modes.