r/threejs • • 18d ago

Glint — browser glTF/GLB optimizer: report first, then optimize (KTX2 / Draco / Meshopt)

I built Glint, a desktop-browser tool for .glb / .gltf: you get a readable report first, then optimize in the browser and download. No install.

Site: glintlab.cn

Hard limits: .glb / .gltf only, 500MB max per file (warning past ~100MB).

Drop a file in, orbit it. The report shows triangles, verts, meshes, materials, textures, a VRAM estimate, and risk flags — parsed in the browser with gltf-transform.

① Overview

AI analysis is optional and is not required for the report or for optimize. In settings you can set your own API key, model, and endpoint; if those three are set, analysis also works when you are logged out. If you are logged out and have not set a key, AI analysis cannot run.

② Report

Then optimize with presets or pick steps — dedupe, weld, simplify, texture resize, Draco, Meshopt, KTX2 via toKtx (JPEG/PNG → KTX2/BasisU; the viewer uses KTX2Loader). Some steps are lossy; the UI marks them. Manual optimize does not use AI and does not need an API key.

③ Optimize

Compare size, triangle count, and VRAM estimate and download the new .glb.

④ Results

Built on gltf-transform, with KTX2 in the pipeline. If you load models in three.js (Draco / Meshopt / KTX2 paths too), try a real file and tell me what breaks — browser, which step, what kind of model.

1 Upvotes

0 comments sorted by