This is a c++ engine module for the Godot engine, containing my mesh merging utilities.
This branch tries to follow godot's master branch (as much as I have time).
For different godot versions look at the other branches.
Status for this branch: Update for 4.0 is work in progress.
You can grab a pre-built editor binary from the Broken Seals repo, should you want to. It contains all my modules.
Mesh Data Resource: Support for merged meshes, even in gles2. Adds MeshMerger a few helper methods.
Contains generic algorithms that manipulate meshes.
Works similarly to SurfaceTool, but it has more utility functions.
A port of https://github.com/Whinarn/UnityMeshSimplifier . For future reference it's based on e8ff4e8862735197c3308cfe926eeba68e0d2edb. Porting is mostly done, but it does needs some debugging (it has a crash if smart linking is enabled).
I might just return to using the original FQMS. As if meshes are merged together using MeshUtils.merge_mesh_array
, or
bake_mesh_array_uv
the original algortithm will work fine. Still on the fence about it.
- Get the source code for the engine.
If you want Godot 3.2:
git clone -b 3.2 https://github.com/godotengine/godot.git godot
If you want Godot 4.0:
git clone https://github.com/godotengine/godot.git godot
- Go into Godot's modules directory.
cd ./godot/modules/
- Clone this repository
git clone https://github.com/Relintai/mesh_utils mesh_utils
- Build Godot. Tutorial