Model Slicing
Wildtile imports pre-split models. In your modelling software, you may wish to model features using traditional techniques and then slice them into tiles before exporting the model. This is especially useful for highly detailed or more organic models.
We used this technique when creating the sample tilesets. We developed the models in Blender 3.0, and you can download these scripts to see how they work and use them for yourself:
Download and unzip the files into your Unity root folder (one level above your Assets folder)
Ensure Blender 3 is installed
Ensure Blender 3 is in your PATH environment variable
Drag the .blend file from the Art folder onto the
export_blend_tile_file_to_unity.py
fileIf this doesn't work, you will need to run the command in the shell:
- Open the scripts folder in Windows Explorer
- Type
cmd
into the address bar - Enter the command
python export_blend_tile_file_to_unity.py ..\Art\LowPolyCliffsSliced.blend
What to do if you encounter [WinError 2] The system cannot find the file specified?
This can happen if Blender is not on your
PATH
environment variable.Find your Blender.exe and copy its folder path e.g. if Blender is at
C:\Program Files (x86)\Blender\Blender.exe
, you would use the pathC:\Program Files (x86)\Blender
.Add this to your PATH using the environment variables editor (text instructions, video instructions)
Find the exported .fbx file in your Assets folder in Unity. This can be immediately imported into Wildtile.
Feel free to modify the script to your liking, or to understand it and reimplement it in your modelling software's scripting language and API.