Blender files than contain the pieces of the building used by the Wave Function Collapse algorithm.
- Open the .blend file in Blender.
- In Blender, go to the "Scripting" tab.
- Select all the pieces you want to use in the Wave Function Collapse algorithm.
- Run the script by pressing the Play button.
- This will generate two files:
- wfc_modules.glb: contains all the meshes to use with Three.js.
- prototype_data.json: contains the data of all meshes used by the WFC algorithm.