Wave Function Collapse and Growing Neural Grids combined! The main branch is cleaned up version of our implementation without all the extra things we have worked on. The project was made for our master thesis. The master thesis can be found here.
The modulesets are all based on marching squares. A really good introduction can be found here.
The growing grid implementation is based on Dr. Bernd Fritzkes work . The adjustable parameters is largely the same as in his implementation and a explanation can found at the demo website.
There are three different modulesets included. Each have a scriptable object that needs to be added to the "gridmanager" script in the main gameObject.
-
3dModuleSet. This set contains a city moduleset made for three dimmensions. The bool "Corner Setup Clockwise" should be false when using this set.
-
HandDrawnset. This is a two dimmensional set of a handrawn city. The Grid Y should be set to 1 and the "Corner Setup Clockwise" should be true.
-
modules. This is the original set and is a 2.5 dimmensional cavern set. The Grid Y should be set to 1 and the "Corner Setup Clockwise" should be true.