Когда использовать
Export portable 3D assets from a browser scene.
Решения для реализации
- Export the selected object hierarchy rather than cameras, studio environment or unrelated UI geometry.
- Use GLTFExporter binary mode for a single GLB file and retain original TypeScript builders for editability.
- Explain that advanced material extensions depend on the target viewer; inspect a round-trip in the actual destination before final delivery.
- Handle exporter failure and revoke download object URLs after the browser has started saving.
Как проверить результат
- Exports contain only the intended object.
- Material and texture ownership are documented.
- Loading the GLB in the target engine preserves scale and orientation.
Работающий пример
Подготавливаем 3D-сцену…