---
title: "meshfx: measure a model and make LODs"
description: "meshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for your engine."
canonical: https://appliedmanifold.com/modules/mesh/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Modules](https://appliedmanifold.com/modules/)
3.  meshfx

MODULE // meshfx

# Turn messy scans and AI models into game-ready meshes

Send a model and a triangle budget. meshfx measures faults, checks repairs against the source and writes GLB levels ready for your engine.

meshfx runs on the hosted API: try it in the [Playground](https://appliedmanifold.com/playground/).

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys)[Read the docs →](https://appliedmanifold.com/docs/mesh/)

## Repair a scan before reducing it

The Namaqualand scan has 85,716 triangles across four stones. Switch from the source wireframe to the compiled level, then compare the same stones at each budget.

 Source Level 1

![The four source scans contain 85,716 triangles](/showcase/hosted/mesh/source_wire_1600.webp)![The second compiled level keeps the stone textures in 12,498 triangles](/showcase/hosted/mesh/lod1_wire_1600.webp)

![All four stones at three compiled levels, from left to right](/showcase/hosted/mesh/lod_lineup_shaded_1600.webp)

The four stones share the source textures at 24,998, 12,498 and 6,250 triangles.

[Use the rock cleanup spec →](https://appliedmanifold.com/docs/mesh/examples/#namaqualand-rocks)

## Measure every level

meshfx reads glTF, GLB, OBJ, STL and PLY with PNG and JPEG textures. It measures holes, flipped faces and non-manifold edges before repair.

Each repair is checked against the source and undone with a warning if it moves the surface too far. meshfx reduces to a triangle budget and makes LODs with the source UVs. Each level reports measured distance, outline and faults.

The hosted bake keeps the source UVs and existing vertex colours. See the [schema reference](https://appliedmanifold.com/docs/mesh/operations/) for the stages each key belongs to.

## Your assets come fully articulated, without building the motion from scratch

Your agent sends one spec to get a lighter asset that keeps its motion. Every part moves the way it was built, at a lower runtime cost.

Try the washer or the lamp to see how each part moves.

**VIEWPORTwashing\_machine.glbfloor\_task\_lamp.glb**

 Washer Lamp

**Joints**

![Washer with door and drawer closed](/mesh/joints/washing_machine_rest.webp)

Rest

![Washer with door and drawer open](/mesh/joints/washing_machine_posed.webp)

Posed

![Lamp with the arm at rest](/mesh/joints/floor_task_lamp_rest.webp)

Rest

![Lamp with the arm raised and shade tilted](/mesh/joints/floor_task_lamp_posed.webp)

Posed

 Rest Articulated

![Compiled washer with door and drawer closed](/showcase/hosted/articulation/rest_1600.webp)![Washer with door open and detergent drawer extended](/showcase/hosted/articulation/articulated_1600.webp)

1.  ![](/showcase/hosted/articulation/model_in_800.webp)

    **Start with marked moving parts**Begin with a model that marks each part meant to move.

2.  ![](/showcase/hosted/articulation/joints_found_800.webp)

    **meshfx finds every joint**meshfx identifies each joint and its motion limits.

3.  ![](/showcase/hosted/articulation/parts_split_800.webp)

    **Parts are reduced on their own**Each rigid part is cleaned and reduced on its own, without merging that part into the rest of the model.

4.  ![](/showcase/hosted/articulation/lods_800.webp)

    **Lighter versions still move**Every level of detail keeps the same joints and motion limits intact.

5.  ![](/showcase/hosted/articulation/engine_800.webp)

    **Fully articulated in your engine**Your game or agent gets a lighter asset that already moves, without building the motion from scratch.

The compiled asset keeps its moving parts at every detail level, and Godot exports include a controller so you get full articulation without writing or building the motion from scratch. [Read the articulation docs →](https://appliedmanifold.com/docs/mesh/joints/)

## Questions

### Which 3D file formats and textures does meshfx accept?

meshfx reads glTF, GLB, OBJ, STL and PLY files with PNG and JPEG textures and hosted jobs keep existing UVs and vertex colours.

### How does meshfx protect surface shape during repair and reduction?

meshfx measures faults before repair, checks each fix against the source and undoes any repair that moves the surface too far.

### What does the Namaqualand Rocks meshfx example output?

It reduces 85,716 input triangles across four stones into three levels of 24,998, 12,498 and 6,250 triangles while sharing the source textures.
