Palettes workflow¶
The Palette - is a tool to randomize a look of house objects.
We'll create two palettes for a facade in this tutorial: dark and light, and then we'll use them to create a palettes random container. To create a palette you have to right click on some folder -> Create -> Domik -> Palette
Now we have to change a layout of windows to make work comfortable.
We need two locked inspectors, one for the house generator to regenerate a house without selecting it in the hierarchy, and the second for palette to make changes without a risk of closing it accidentally.
Now we have to add this palette in top of the skins list in the house generator to see the result of palette changes.
The facade of the house is split to five groups:
- Regular facade walls
- Thin facade walls
- Thick facade walls
- Plinth
- Columns
Now let's add skins for regular walls of the house.
This is a dark palette, so we have to select dark skins.
Now we'll select skins which looks good enough.
We have to divide a list of skins with an empty element, and then group suitable skins under it.
Don't forget to set the Debug checkbox to true to use the first element in the skins list, otherwise a random skin will be used.
Now let's check the result.
Now we have to randomize facade thin walls. Create new skins random group and fill it with thin facade skins.
Check the result.
Now let's do thick walls.
And check the result.
Next, let's do the same for the light facade group.
Checkout the result.
Final step - create a palettes random container to random select one of two palettes.