Skip to content

Repository files navigation

MeshSimplifier

NuGet Downloads

Trimmed down fork of the UnityMeshSimplifier Library adapted for modern non-Unity .NET 9+ projects

Installation

Install the NuGet package Sowa705.MeshSimplifier

Basic usage

usingMeshSimplifier;// load your 3D model into a Mesh objectMeshmesh=newMesh();mesh.vertices= ...;mesh.triangles= ...;mesh.submeshes=[newSubMesh(0,mesh.triangles.Length)];MeshSimplifiersimplifier=newMeshSimplifier();simplifier.Initialize(mesh);simplifier.SimplifyMesh(0.5f);varoptimizedMesh=simplifier.ToMesh();

Removed features

  • Unity integration
  • BlendShapes
  • BoneWeights (may be re-added in the future)
  • 3D and 4D UVs (may be re-added in the future)

License

This project is licensed as MIT as stated in LICENSE.md, huge thanks to the UnityMeshSimplifer contributors and Fast Quadric Mesh Simplification team

About

Mesh simplification for .NET

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages