Exports 3D mesh geometry of your terrain to disk as a Wavefront OBJ or binary glTF (.glb) file.
When to Use
Use Mesh Output when your target app needs terrain geometry rather than an image:
- General 3D apps: Export OBJ.
- Engines and web viewers: Export glTF (.glb).
A heightfield file is much more compact than a mesh; if your target app accepts heightfields, prefer Height Output. To export a complete scene with materials, textures and water, use Scene Output instead.
How to Use
Convert your terrain to a mesh with the Meshify device and connect it to the Primary Input. Meshify’s settings control the triangle count and mesh type. By default the file is an OBJ in World Machine’s internal units, with Z up.
- Connect a Mesh from a Meshify device to the Primary Input.
- Choose the File format: OBJ for general 3D apps, glTF (.glb) for engines and web viewers.
- For OBJ, select the Coordinate System that matches your 3D application.
- Choose the Units for your workflow.
- Set the File name.
- Build, then press Write to disk (or run a Final Build).
Inputs
| Port Name | Type | Required/Optional | Description |
|---|---|---|---|
| Primary Input | Mesh | Required | The mesh geometry to export |
Outputs
This device has no output ports (terminal device).
Parameters
File name – Where to save the file. Supports filename template tags such as <project>, <name> and <res>. Default: <project>_<name>.obj. The extension follows the File format setting.
File format – The file type to save:
- Wavefront Object (OBJ) (default)
- Binary glTF (.glb) – a single binary file holding the mesh with its normals and UV coordinates, and a plain gray default material. glTF files are always written right-handed with Y up, as the glTF standard requires.
Write to disk – Button that saves the file now from the latest build.
Options
Coordinate System – The axis convention of the app you are exporting to. Only shown when File format is Wavefront Object (OBJ):
- RH Z is up (X=east,Y=north) (default)
- RH Y is up (X=east,Z=south)
- LH Z is up (X=east,Y=south)
- LH Y is up (X=east,Z=north)
Units – The scale applied to the exported vertices (default: unscaled):
- unscaled – World Machine’s internal units, where 1 unit = 8 km
- normalized – in this build, exports the same as unscaled
- kilometers – 1 unit = 1 km
- meters – 1 unit = 1 m
Participate in tiled builds – Save a file for each tile during tiled builds. Default: enabled
Auto-export on every build – Save the file automatically after every build. Default: disabled
Center at origin – Intended to move the exported mesh so it is centered on the origin. In this build the setting does not change the export: the mesh is always written at the world position Meshify gave it. Default: enabled
Tips and Tricks
- Maya and Unity use Y-up coordinate systems.
- Blender, 3ds Max, Unreal Engine and GIS applications use Z-up coordinate systems (Unreal is left-handed).
- Choose meters when your target app expects real-world sizes; Meshify meshes keep their true world position, so tiles from a tiled build line up with each other.
- OBJ files include the mesh’s UV coordinates but no vertex normals; your 3D app will compute its own. glTF files include both.
Older Versions
Projects from before Artist Point may contain the older Mesh Output versions (“Original” and “Build 3025”). These take a heightfield (or, in Build 3025, water) directly plus an optional Mesh Mask, and build the mesh themselves with their own triangulation, quad, UV and volume settings. Updating one to the current version is a breaking change: the current version only accepts a Mesh, so insert a Meshify device in front of it.