◀ Previous: 12. Mesh Setup · 🏠 WC Tools · Next: 14. Mesh Optimizer Presets ▶


The Mesh Optimizer cleans up meshes and makes them cheaper to draw. Give it one mesh or a whole folder and it can:

You always see Before and After side by side before anything is saved.

<aside> 🛡️

Your source mesh is never changed. The result is saved as a new mesh in its own folder. (One step is different: Physical Materials sets a physical material on the source's own materials. It's explained on page 16.)

</aside>

Opening it

F3ARID2gCk.png

How it works, in one minute

Word What it means
Preset A list of steps and their settings. The steps run top to bottom on each mesh.
Step One job: Simplify, Normals, LODs, Collision... Each has an On tick.
Preview Runs the steps on the selected mesh in memory and shows Before and After. Nothing is saved.
Save Writes the result as a new mesh, with a report of what was done.

Quick start: halve a mesh's triangles

  1. Open the Mesh Optimizer tab. Preset is already set to DA_MeshOptimizer_Preset_Recommended_WC, which tidies, repairs, halves the triangles, fixes the normals and makes 4 LODs. (After the first time, the tab opens on whichever preset you used last.)
  2. Drag one or more meshes onto the box that says Drop static and skeletal meshes here.
  3. Click a row, then click Preview.
  4. Look at Before and After. Click Wireframe above them to see the triangles. The row's Triangles column shows the count before and after.
  5. Not right? Change a step's setting in the Steps list (for example Simplify's Share) and click Preview again.
  6. Happy? Click Save Selected. To do the whole list, click Run All.

<aside> ✅

Where's my mesh? In a folder called Optimized next to the source, inside a folder named after the source. The mesh has the source's name + _Opt, so SM_Crate becomes .../Optimized/SM_Crate/SM_Crate_Opt. A report sits beside it.

</aside>

The list

Column What it shows
Mesh The mesh's name.
Kind Static or Skeletal.
Rule The name rule this mesh matched, if any. See 14. Mesh Optimizer Presets.
Keep Geometry Tick it and the steps that change the shape are skipped for this mesh. LODs, collision and the rest still run.
Budget Every triangle target is multiplied by this for this mesh. 0.5 = half as many as the preset says, 2 = twice as many.
Triangles The count before, and after once it's previewed.
Status Where this row stands. See the next table.
Result What the last Preview or Save said. Hover over it for everything.

Status

Status What it means
Not previewed Nothing has run yet.
Previewed After is showing the result of the current settings.
Preview out of date You changed a setting after previewing. Click Preview again.
Saved The result is saved.
Up to date The mesh and the settings haven't changed since its last save, so Run All skips it.
Failed Something went wrong. The Result column says what.

The buttons

Button What it does
Preset and Open Preset Pick the preset, or open it in its own window.
From Level Adds the meshes of the actors selected in the level, with the materials those actors use.
Preview Runs the steps on the selected mesh and shows Before and After.
Save Selected Saves the selected meshes' results, previewing each first if needed.
Run All Previews and saves every mesh in the list. Cancel keeps what was already saved.
Remove Takes the selected meshes off the list. Nothing is deleted.
History Every saved result's report. See History below.
Bake Again Runs only the Bake step again on the previewed mesh. Use it after changing a Bake setting, so you don't wait for every other step.

Before and After

The two views turn together, so you always compare the same angle.

What the views show

Button Shows
Lit The mesh with its materials.
Wireframe The mesh with its triangle edges drawn over it.
Normals The mesh colored by the direction each face points. A hard edge is a jump in color, a smooth side is a gradient. Black = a face pointing the wrong way.
Cells Each cell of the mesh (a quad, a part, a material section) in its own color.
Vertex Colors The mesh's vertex colors in place of its materials. All, Red, Green, Blue and Alpha pick which channel.
Quad Overdraw The work wasted on tiny and thin triangles. Brighter = more.
Collision The collision shapes in green. After a gap check, red dots where the mesh pokes out of them.

A button is grayed out when there's nothing to show. Hover over it and it says why, for example Vertex Colors: neither the source nor its preview has vertex colors.

Mesh and UVs

Button Shows
Mesh Before and After show the mesh.
UVs Before and After show the UV layout: the source's, and the one the steps leave. Overlapping triangles are red. Stretch runs from blue (none) to red (a lot). Islands with uneven texture density are yellow.

LOD and Impostor

Control What it does
LOD Picks which LOD After shows. LOD 0 is the previewed mesh; the rest are the LODs Save will make from it.
Impostor After shows the impostor as Save will bake it: one flat card that turns to face the camera and shows the side it's seen from.

Protect: paint what must stay

Sometimes Simplify eats a detail you care about, like a logo or a face. Paint it and it's kept.

  1. Tick Protect.
  2. Set Radius (the brush's size, in cm).
  3. Drag on the Before view over the parts to keep. Shift-drag erases.
  4. Click Preview. Simplify leaves the painted spots alone.

<aside> ℹ️

</aside>

The Steps list

Under Steps you see the preset's settings: where results go, the steps, and the name rules. Change them here or with Open Preset. It's the same preset either way.

<aside> ⚠️

</aside>

Each step is explained on 15. Shape Steps and 16. UV, Baking, LOD and Collision Steps.

◀ Previous: 12. Mesh Setup · 🏠 WC Tools · Next: 14. Mesh Optimizer Presets ▶