KhronosGroup / KhronosGroup/glTF

KHR_draco_mesh_compression: Clarify required status of attributes

Open
#1,867 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
7.8k
Forks
1.2k
Avg merge
17h 26m
Merged PRs (30d)
5

Description

If I understood correctly:
If `KHR_draco_mesh_compression` is defined in the `extensions_required` field, only compressed data should be kept.

Therefore, `indices` and `attributes` of the primitive should be omitted (as well as the referenced bufferviews and buffers if they are not used elsewhere). To make this possible, `attributes` should no longer be required or should not have the requirement to consist of minimum one item, if `KHR_draco_mesh_compression` is defined in the primitive.

If this is the desired functionality, it would be a good idea to explicitly state it in the documentation of `KHR_draco_mesh_compression`

Contributor guide

Open the contributing guide

Research direction

Read the KHR_draco_mesh_compression documentation and the primitive requirements for attributes and indices. Resolve whether compressed primitives may omit those fields and their unused buffer references, then update the extension documentation to state the agreed requirement explicitly.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 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.