Show / Hide Table of Contents

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:

  1. Download and unzip the files into your Unity root folder (one level above your Assets folder)

  2. Ensure Blender 3 is installed

  3. Ensure Blender 3 is in your PATH environment variable

  4. Drag the .blend file from the Art folder onto the export_blend_tile_file_to_unity.py file

    If this doesn't work, you will need to run the command in the shell:

    1. Open the scripts folder in Windows Explorer
    2. Type cmd into the address bar
    3. 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 path C:\Program Files (x86)\Blender.

    Add this to your PATH using the environment variables editor (text instructions, video instructions)

  5. 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.

In This Article
Generated by DocFX Version: 4.0.0 - click to show/hide other versions