# Threejs Archiviz - Model Optimization Tutorial

> Starting another Archiviz project for PlanPoint and sharing some secrets to good performance: 3D model optimization.

Canonical page: https://andersonmancini.dev/videos/threejs-archiviz-model-optimization-tutorial

Published: 2024-06-11 · Duration: 2:00 · Category: Tutorials · Tags: three.js, tutorial, model-optimization, archiviz, react-three-fiber, r3f, creativecoding

Watch: [YouTube](https://www.youtube.com/watch?v=Fhj1oLbTeU4) · [Subscribe to the channel](https://www.youtube.com/@AndersonMancini?sub_confirmation=1)

Starting another Archiviz project for PlanPoint and sharing some secrets to good performance: 3D model optimization.

Before: 1.3 million triangles: 50MB GLB

After: 142.000 triangles: 2 MB GLB

Know more in the comments .

First, we remove all unnecessary meshes. Then, we apply the decimate modifier + boolean + weld modifier to reduce the poly count. Finally, we search for replacements where a mesh can be a texture.

Next step: threejs render

## Related projects

- [WebGPU Archiviz](https://andersonmancini.dev/projects/webgpu-archiviz.md) — 6MB Architecture Visualization
