This project is a library (API) that I need to have access for in Unity 3D C# or C++ (If developed in C++ I can handle the front end of generating new meshes, I just need the vertex positions and order). This tool needs to remove faces of cubes and combine faces that can be combined to lower face / poly count in a scene.
-Remove any faces that are culled, two cubes (the faces are touching and not seen in the scene).
-Remove and create a new face for 2 or more faces that are side by side using greedy meshing.
If needed I can use a custom 'cube' class instead of creating a unity cube primitive. The picture provided explains in 2D how a group of squares can be remeshed into the faces I am requesting.
[url removed, login to view]
If you have any questions please feel free to message me, if you're interested please send me a quote and how long it will take you.
Example image: https://blackflux.files.wordpress.com/2014/02/mono-internal-edges-fixed.png