KhronosGroup / KhronosGroup/glTF

Why the 32 bit limit on GLB file size?

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

Description

This unnecessarily limits the scope of the format. What are the reasons behind the ~4 GB limit? Are there any plans to lift this to 64 bit in a future version of the specification?

> length is the total length of the Binary glTF, including Header and all Chunks, in bytes.

Contributor guide

Open the contributing guide

Research direction

Read the linked glTF 2.0 specification, especially the Binary glTF Layout section and its definition of the length field. Resolve the format-design question by documenting the reasons for the approximately 4 GB limit and whether a future specification could use 64-bit lengths.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.