OpenDroneMap / OpenDroneMap/ODM

GLB quantization computed incorrectly

Open
#1,929 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

software fault
Dominant language
Python
Stars
6.5k
Forks
1.3k
Avg merge
5d 6h
Merged PRs (30d)
4

Description

Depending on the size of the scene, GLB assets generated via ODM (--gltf) are quantized improperly due to the quantization in draco using per-mesh bounds rather than per-scene bounds https://github.com/google/draco/issues/713

Approach used by gltf-transform and that should be ported to draco_transcoder: https://github.com/donmccurdy/glTF-Transform/commit/977995c5fda719bb8a2da377055757436dd46165

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Draco issue and the glTF-Transform commit, then trace the GLB generation path invoked by ODM's --gltf option into draco_transcoder. Done means quantization uses per-scene bounds rather than per-mesh bounds and generated GLB assets have correct quantization across scene sizes.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.