Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mesh Diet

Reduce the polygon count of a 3D model and repair its PBR texture maps, in your browser. Nothing is uploaded — every file stays on your machine.

No install, no sign-up, no upload. Open it and drop in a model.


How to use it

  1. Drop a model anywhere on the page, or press Open file…
  2. Pick a mode and how much to keep.
  3. Press Decimate.
  4. Compare — switch between Original, Result and Side by side, and turn on the wireframe to see the polygons.
  5. Download in the format you need.

Left-drag to rotate · wheel to zoom · right-drag to pan.

The two modes

Simplify keeps the model's original UVs and texture maps. The simplifier treats UV and normal distortion as error, so the texture layout survives the reduction and nothing needs rebaking — your artwork is handed through exactly as authored. Use it for game-ready assets that already have sane UVs. Sub-second, even on a million triangles.

Its limit is the mapping rather than the images. UV coordinates live on vertices, so cutting the vertex count also cuts the number of points pinning the texture to the surface, and between them it stretches. Below roughly a quarter of the original triangles, fine detail starts to slide.

Rebuild melts every part into one watertight shell, reduces that, generates fresh UVs and re-bakes all the maps by sampling the original surface — so the texture is built to fit however many triangles are left. Use it for CAD, scan and KeyShot exports (stacked shells, projected labels, parts with no UVs), and for deep reductions of any model. Takes longer and writes much larger maps.

The app suggests the right one when you load a file.

It also repairs textures

Whichever mode you pick, it finds and fixes problems that quietly ruin how a model looks:

  • normal maps whose blue channel was written flat instead of √(1−x²−y²)
  • data maps mistakenly tagged as colour
  • dead alpha channels and unused vertex attributes
  • surfaces that no renderer can draw, left in by an exporter

Everything it finds is listed in plain language, next to what it did about it.

You can run the repair on its own with Repair textures only — full resolution, nothing reduced.

Formats

Load Save
GLB / glTF
USD / USDZ
OBJ ✓ with MTL and maps, zipped
STL / PLY ✓ geometry only
FBX

Draco-compressed files load too.

FBX is read but not written. There is no dependable FBX writer that runs in a browser, and a half-working one that produces files Maya opens wrong is worse than an honest absence.

Privacy

The app makes no network requests after it loads. Your model is never uploaded, never stored, and is gone when you close the tab. There is no analytics, no telemetry and no account.

Third-party code

Bundled in vendor/, unmodified:

The sample model

The app opens with Silver-gilt bowl, Cypriot, ca. 725–675 BCE — The Metropolitan Museum of Art, accession 74.51.4554, released under Open Access (CC0), and reduced here using this app. Full credit in assets/CREDITS.md.

Licence

© 2026 WINDNOISE. All rights reserved — see LICENSE.

Free to use. Open the app and use it for anything you like, personal or commercial. Your models stay yours; they never leave your machine and the copyright holder never sees them. The source is published so it can be read and audited.

Not free to take. Copying, modifying, redistributing, rehosting, or incorporating it into another product needs written permission.

The bundled libraries and the sample model keep their own licences, listed above, and this notice neither extends nor restricts them.

About

Reduce polygon count and repair PBR texture maps, entirely in the browser. Nothing is uploaded.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages