Automatically modify primitive based on texture I have a cube with black and white squares on its surface (texture). Like this:


My question is: How can I reshape this cube in a way, that the black parts stick out? I could modify it manually with edge/face loops, but what if I have hundreds of black squares? That would take me days. There must be some automated method.

Thank you for your answer.
Array modifier

As long as the pattern is repeated in a Grid, you can replicate "N" times a mesh along the main axis with the Array modifier:



For your particular case, you'll have to build a mesh made by 3 cubes and stack one Array modifier for each axis, adjusting the Relative offset vector: