Skip to content

GLTFExporter: Unable to export multi material object. #16263

@Mugen87

Description

@Mugen87
Description of the problem

If you import the following OBJ file into the editor, it looks like so:

house.obj.zip

image

If you now export to glTF and load it into a glTF viewer, it seems certain parts of the model are missing:

image

The house model is a multi-material asset. It seems the exporter only respect the parts with the first material applied.

Original issue: https://discourse.threejs.org/t/scene-quality-doesnt-match-when-exported-compared-to-first-time-load-scene/7099

Three.js version
  • Dev
  • r103
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, ...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions