/geometry-toolkit

๐Ÿ“ A library for procedural geometry creation and manipulation in Unity

Primary LanguageC#MIT LicenseMIT

๐Ÿ“ Ara 3D Geometry Toolkit

A set of components, scripts, and libraries for geometry creation and manipulation primarily in the Unity editor. This library is intended to help in the creation of editor tools, and for learning and experimenting with geometric routines.

The code is being built for the built-in (standard) rendering pipeline.

โ„น๏ธ About Ara 3D Geometry and Mathematics

The geometry and math algorithms and data-structures are written from the ground-up in .NET Standard 2.0 compatible C#. This makes it possible to reuse the mathematical and geometry code in other applications without any dependencies on Unity.

The Ara 3D geometry algorithms differ from Unity libraries:

  • It uses a Z-up coordinate system
  • Normals are computed assuming a counter-clock-wise vertex ordering

โš ๏ธ Use at your own risk

This library is not intended for use in real-time games, and might not represent best practices.

๐Ÿ”ญThe Future

This Ara 3D mathematics and geometry libraries will be ported to the Plato. Plato is a high-performance pure functional language designed especially for mathematical computation.

We will be next writing an open-source Plato to C# compiler optimized for the Unity burst compiler. If your organization is interested in accelerating development, let's talk!

๐ŸŒฑ References

Many technical problems in developing this code were solved with help from these people and posts:

๐Ÿ”Ž Related Work

Other libraries related to procedural geometry creation in Unity: