Skip to content

Add support for KHR_draco_mesh_compression in glTF/glb export #54

Description

@viktor-hallen

Feature request: Draco mesh compression on glTF/glb export

Background
From what I understand, the USD_FILEFORMATS_ENABLE_DRACO CMake option currently enables reading Draco-compressed meshes on import. However, there appears to be no support for exporting glTF files with KHR_draco_mesh_compression.

Use case

  • Large USD scenes generate very large glTFs; mesh data dominates file size.
  • Draco compression could reduce mesh payloads by ~60–80%, speeding up delivery in web and real-time viewers.

Proposal
Introduce enableDracoCompression (or similar) in ExportGltfOptions.

Alternatives considered

  • Post-processing with external tools, but integrating at export avoids extra steps in our USD-centric pipelines.

Thanks for considering this enhancement!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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