# Mesh Optimization

## The Decimate Modifier

This is one of the standard methods of reducing geometry quickly in Blender. It's best when used for static objects such as environmental props where "edge flow" is less important.

**Decimating a Mesh:**

1. Select the object and go to the **Modifier Properties** tab.
2. Add a **Decimate** modifier.
3. Use **Collapse** mode for flat surfaces and increase the **Angle Limit** to dissolve faces that are nearly flat.
4. That's it! Once satisfied click the arrow on the modifier and select **Apply**.

***

## Limited Dissolve

This tool melts away edges and vertices that don't contribute to the overall shape of the mesh. It's excellent for cleaning up flat areas without destroying the silhouette.

**Dissolving a Mesh:**

1. Enter **Edit Mode** (`Tab`) and select all (`A`).
2. Press X and select **Limited Dissolve**
3. In the operator box (bottom-left), adjust the Max Angle. A higher angle removes more geometry.
   1. NOTE: This often creates N-gons (faces with more than 4 sides), you may need to triangulate the mesh cleanly (by pressing `Ctrl + T`).

***

## Merge by Distance

Sometimes a high tri count is caused by duplicate vertices that aren't visible. This merges verticies that are on top of eachother, often reducing tri count instantly without sacrificing the visuals of the mesh.

**Merging by Distance:**

1. Enter **Edit Mode** (`Tab`) and select all (`A`).
2. Press M and choose **By Distance**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://optimize.noctivera.xyz/optimization/mesh-optimization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
