Marching-Cubes-Terrain
This is my implementation of the Marching Cubes algorithm using Unity.
Demo video: https://www.youtube.com/watch?v=7GrKaSCoyvs
Discord Server: https://discord.gg/tKhNq7sCYu
Features
- Unity Job System with the Burst Compiler
- Realtime terrain editing
- Smooth the terrain by holding the left ctrl key and left click
- Two world types:
- Procedurally-generated infinite world
- Import from black-and-white heightmap texture
System Requirements
- Unity3D (I'm developing this project with version 2019.3.0f6, but any newer version should also work)
Setup
- Clone the repository with
git clone https://github.com/Eldemarkki/Marching-Cubes-Terrain.git
- Open the project with Unity
Contributing
All contributions are welcome.
When creating a new issue, please describe the bug in as much detail as possible, and include the branch and commit id where the bug happened. If applicable, also include screenshots.
Acknowledgements:
- Paul Bourke for an example implementation of the Marching Cubes algorithm (http://paulbourke.net/geometry/polygonise/)