This is a Unity3D editor plugin to create procedurally generated caves using the cellular automata model and marching cubes algorithm.
Download all the files into your Unity3D project folder. Run by clicking Tools/Cellular Automata Terrain Tool 3D
Unity3D version 5.6.0f3 or above
Open a Unity project and import all the files into it. Open the editor and click on the Tools menu and on Cellular Automata Terrain Tool 3D You are ready to run
First step is to generate the initial grid, be very careful with very large sizes. Next you should fill the grid with random values. Next you should smooth out the result, this uses the cellular automata algorithm on 3d, checking all 26 neighboors, make sure to test and adjust the lower and upper limits accordingly. After you are happy with the preview result you can click on generate mesh to create the mesh.
- Unity3D - The world’s favorite game engine
- Marching Cubes - Marching Cubes Algorithm
- Carlos Augusto Restrepo - Initial work - Tuto96
This project is licensed under the CC Zero v1.0 Universal
- Digital Dust for their marching cubes implementation
- Sebastian Lague for his amazing cellular automata tutorial
- Vancouver Film School