Экспорт GLB и ассетов

Модели, материалы и текстуры для другого проекта.

3D / WebGLGLBglTFexportassets

Когда использовать

Export portable 3D assets from a browser scene.

Решения для реализации

  1. Export the selected object hierarchy rather than cameras, studio environment or unrelated UI geometry.
  2. Use GLTFExporter binary mode for a single GLB file and retain original TypeScript builders for editability.
  3. Explain that advanced material extensions depend on the target viewer; inspect a round-trip in the actual destination before final delivery.
  4. 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-сцену…

Файлы

SKILL.mdcomponents/scene.tsx
WEBCRAFT © 2026Оригинальные исходники и интерактивные примерыMIT License