{"id":50461076,"url":"https://github.com/playsaurus-inc/mesh-reduce","last_synced_at":"2026-06-01T04:31:39.817Z","repository":{"id":328096818,"uuid":"1112627373","full_name":"playsaurus-inc/mesh-reduce","owner":"playsaurus-inc","description":"Web tool for lossless to near-lossless compression for glTF Binary files","archived":false,"fork":false,"pushed_at":"2026-05-05T22:26:58.000Z","size":239,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T23:29:13.102Z","etag":null,"topics":["3d","glb","gltf","mesh-optimization","threejs","webtool"],"latest_commit_sha":null,"homepage":"https://mesh-reduce.labs.playsaurus.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playsaurus-inc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-08T22:14:09.000Z","updated_at":"2026-05-05T21:50:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/playsaurus-inc/mesh-reduce","commit_stats":null,"previous_names":["playsaurus-inc/mesh-reduce"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/playsaurus-inc/mesh-reduce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playsaurus-inc%2Fmesh-reduce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playsaurus-inc%2Fmesh-reduce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playsaurus-inc%2Fmesh-reduce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playsaurus-inc%2Fmesh-reduce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playsaurus-inc","download_url":"https://codeload.github.com/playsaurus-inc/mesh-reduce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playsaurus-inc%2Fmesh-reduce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33760645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","glb","gltf","mesh-optimization","threejs","webtool"],"created_at":"2026-06-01T04:31:39.211Z","updated_at":"2026-06-01T04:31:39.807Z","avatar_url":"https://github.com/playsaurus-inc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playsaurus Mesh Reduce\n\n[![Tests](https://github.com/playsaurus-inc/mesh-reduce/actions/workflows/tests.yml/badge.svg)](https://github.com/playsaurus-inc/mesh-reduce/actions/workflows/tests.yml)\n\nA web-based tool for compressing and optimizing glTF Binary (.glb) 3D model files. Achieves significant file size reduction through mesh optimization, vertex quantization, and meshopt compression.\n\n\u003e **🚀 Try it now: [mesh-reduce.labs.playsaurus.com](https://mesh-reduce.labs.playsaurus.com/)**\n\n![Playsaurus Mesh Reduce](./art/screenshot.png)\n\n## ✨ Features\n\n- **Vertex Deduplication** - Removes duplicate vertices\n- **Vertex Cache Optimization** - Reorders vertices for better GPU performance\n- **Quantization** - Reduces precision of positions (16-bit), normals (8-bit), and UVs (16-bit)\n- **Meshopt Compression** - Applies EXT_meshopt_compression for additional size reduction\n- **Texture-Aware Simplification** - Preserves detail in areas with high texture complexity\n- **LOD Generation** - Creates multiple levels of detail (100%, 75%, 50%, 25%)\n- **Texture Resizing** - Optional texture downscaling\n- **Before/After Comparison** - Side-by-side 3D viewer with diff visualization\n\n## 🎮 Usage\n\n1. Open the app in your browser\n2. Drag and drop a `.glb` file onto the drop zone (or click to browse)\n3. Adjust compression settings as needed:\n   - **Simplification** - How aggressively to reduce triangle count\n   - **Texture-Aware** - Preserve detail in textured areas\n   - **Detail Preservation** - Threshold for protecting important vertices\n   - **Texture Resolution** - Optionally downscale textures\n4. Click **Compress**\n5. Review the before/after comparison\n6. Select desired LOD level\n7. Click **Download Optimized** to save\n\n## 📦 Output Compatibility\n\nThe optimized GLB files use standard glTF 2.0 extensions:\n\n- `KHR_mesh_quantization` - For quantized vertex attributes\n- `EXT_meshopt_compression` - For buffer compression\n\nThese are supported by:\n- Unity (glTFast, UnityGLTF)\n- Unreal Engine\n- Babylon.js\n- Three.js\n- Most modern glTF viewers\n\n## 👨‍💻 Contributing\n\nTo contribute to Playsaurus Mesh Reduce, please read the [contributing documentation](./.github/CONTRIBUTING.md).\n\n## 🔒 License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaysaurus-inc%2Fmesh-reduce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplaysaurus-inc%2Fmesh-reduce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaysaurus-inc%2Fmesh-reduce/lists"}