Когда использовать
Resolve glTF buffers and images from a provider manifest and export a self-contained asset package.
Решения для реализации
- Treat glTF as a manifest: buffers and image URIs may point to different directories on the provider CDN.
- Use the exact include map returned with the selected resolution. Rewrite only resource URIs; preserve transforms, skins and material assignments.
- Retain relative dependency paths when downloading a ZIP. Reject absolute paths and traversal segments.
- Normalize the displayed object with a wrapper transform; keep its internal hierarchy and animation targets intact.
Как проверить результат
- Every non-data URI resolves to a bundled file or explicit CDN URL.
- Exported GLB contains the chosen scene and supported animation clips.
- Switching model releases geometry, materials, textures and animation mixers.