Skip to content
3D Design & Development

Geometry Compression for glTF: What Actually Works

Reducing the download size of 3D models for the web with glTF extensions such as Draco mesh compression, meshopt compression and mesh quantization.

MediaScaleUp Editorial Team 2 min read 18 views
Geometry Compression for glTF: What Actually Works

Where most projects go wrong

The usual mistakes:

  • Over-quantizing until visible cracks or texture shifts appear
  • Compressing models that are already tiny
  • Shipping a model that needs an extension the viewer lacks
  • Treating compression as a substitute for sensible polygon counts

What good looks like instead

  • Compare compressed file size and load time on a real phone
  • Tune quantization so edges and UVs stay accurate
  • Host decoders alongside the viewer and cache them
  • Keep uncompressed masters for future edits
  • Check that every target viewer supports the chosen extension
What to do and what to avoid with geometry compression for glTF, side by side
Good practice against the usual mistakes, from the sources listed below.

Why it matters

Geometry is often the largest part of a web 3D model, and compression can cut download size substantially at the cost of some decoding work on the device.

The specs that matter

Published figures for Geometry Compression for glTF
MeasureFigure
Dracomesh compression added to glTF through KHR_draco_mesh_compression
meshoptEXT_meshopt_compression, which also compresses animation and instancing data
QuantizationKHR_mesh_quantization stores vertex data with fewer bits
Decodersviewers must load a decoder to read compressed meshes
Trade-offsmaller downloads in exchange for decoding time on the device

Knowing when to hand it over

Tip: Bring in help when 3D product viewers load slowly, or when a large model library needs an automated optimization process.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on 3D Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

See it in practice

All the work
Before: 3D Interior Scene: Wireframe to Sunlit Final Render
After: 3D Interior Scene: Wireframe to Sunlit Final Render
Wireframe / clay Final render

3D Interior Scene: Wireframe to Sunlit Final Render

Blender Cycles scene layout, PBR textures, procedural shaders, sun + sky + window fill lighting, practical lamp, depth of field, AgX color management

Studio demo on a public-domain photo, not a client job

Architectural Visualization Real Estate & Interior Design 3-5 days

Before: 3D Packaging Render: From Clay Model to Shelf-Ready Hair Oil Box
After: 3D Packaging Render: From Clay Model to Shelf-Ready Hair Oil Box
Clay model pass Final product render

3D Packaging Render: From Clay Model to Shelf-Ready Hair Oil Box

Hard-surface modeling, UV unwrapping, label and dieline artwork, glass and liquid shaders, studio lighting, Cycles render

Studio demo on a public-domain photo, not a client job

Packaging Modeling Beauty & Personal Care 3-5 days

Before: Architectural Exterior: Clay Massing to Photoreal Daylight Render
After: Architectural Exterior: Clay Massing to Photoreal Daylight Render
Clay massing study Final exterior render

Architectural Exterior: Clay Massing to Photoreal Daylight Render

Architectural modeling, timber and concrete materials, glass and water shaders, landscaping, sun-and-sky lighting, Cycles

Studio demo on a public-domain photo, not a client job

House & Building Modeling Real Estate & Architecture 5-7 days

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in 3D Design & Development