Moguri / panda3d-gltf

glTF utilities for Panda3D
BSD 3-Clause "New" or "Revised" License
82 stars 19 forks source link

Do not load textures via model-path #115

Closed rdb closed 1 year ago

rdb commented 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:

It would need to be tested that this change works with all texture conversion modes.