Skip to content

The reading order of EXT_structural_metadata, EXT_mesh_features, and EXT_instance_features. #181

@LoongZP

Description

@LoongZP

I used convertB3dmToGlb to convert the b3dm file to glb, but I cannot read it with gltf-transform. The error report is as follows:

Image

The reason is that the read function of EXT_mesh_features executes before that of EXT_structural_metadata, but the read function of EXT_mesh_features depends on the results read by EXT_structural_metadata. As shown in the image below:

Image

donmccurdy/glTF-Transform#1659 (comment) It is recommended to use the preread function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions