Procedural Stone Wall Generator

by 5 Minutes Blender in Addons


How to install Stone Wall Generator:


After you download the add-on package, open blender and go to Edit -> Preferences. Go to the Add-ons tab and install the downloaded zip file (Stone-Wall-Generator.zip). Enable the add-on and you’ll get a menu option called Create Stone Wall under Object -> 5 Minutes Blender menu. Please refer to the installation document for a step-by-step guide with screenshots.

How to use Stone Wall Generator:


You can easily create some eye-catching stone walls using Stone Wall Generator in a few simple steps. Let us see how.

Select an object which you want to convert into a stone wall. You can use any rectangular object. If it is not rectangular, the add-on will still work - it will create the stone structure based on the object's bounding box (which is always rectangular).

Now use the menu option to convert the selected object into a stone wall, you will see the following popup with the available options.



Here are the functionalities of the input parameters:


Stone Size: Ranges between 1 (smaller stones) and 100 (large size stones). Enter a value as you need. However, all stones won’t be of equal size, there will be some variations.

Stone Quality: Ranges between 1 (low) to 8 (high). For most cases, 2 is found sufficient.

Displacement: Ranges between 0 and 10. It will randomly displace the stone pieces. This is not for the stone material, this affects the location & rotation of each individual stone.

Random Shape: This is an interesting parameter. It controls the randomness of the stone pieces. When you make it 0, all stones will have an uniform shape which is rectangular (except the corner stones). When you make it 1, all stones will randomly vary in their shapes. Enter a value between these two extremes as per your choice.

Stone Color: This is the base color of the stone. The add-on will use this color as the theme color & create several variations in the stone colors based on the color variation option.

Color Variations: When enabled, the add-on will use a wide range of stone colors following the base color selected above. Even when this option is disabled, the add-on will still create some variations in the stone colors, but they will be more closer to the base color you have chosen. You should disable this option if you want to create only dark colored stones.

Texture Scale: Ranges between 1 and 10. It controls the scale factor in the texture mapping. A value of 5 is generally good, but you can change this if you need in order to rectify the texture mapping for a particular viewing angle.

Decimate Level: Ranges between 0 (no decimate) and 10 (highest). When you set it to a non-zero value, the add-on will try to reduce the number of polygons in each stone. A higher values results into low poly count and smaller file size, but it takes a longer time to run.

Simplify Shapes: Just like the above, when this option is enabled, the add-on will reduce the number of polygons by replacing each stone with a similar piece of lower poly. This again helps in reducing the poly count and the overall file size, but the run time will see an increase.

Add Wall Joints: When this option is enabled, the add-on will create some fillers for the large gaps among the stones. Usually you don’t need it because the gaps may not be easily noticeable and some gaps may be desired as well. But if you are taking a close-up view and these gaps look artificial, you can enable this option to fill those gaps with a stone material.


This is not quite same as the Cell Fracture Add-on


Blender has an official add-on which is called Cell Fracture. Although it looks similar, but Cell Fracture add-on is not quite same as this. They work on two different algorithms and there are several differences between them. You can easily compare their results below:




1. Cells created by the Cell Fracture add-on often get very large and very small sizes together. While this may be desired in some cases, there is no easy way to control this feature. So if you need fairly similar sized pieces everywhere, it may become challenging. But with Stone Wall Generator, you can easily control the size of the stones, with some random variations around the given size. Cool!

2. There is no displacement available in the Cell Fracture add-on. But a stone structure looks more real if the stones are slightly displaced from their base location. You can control this displacement through the available options in the Stone Wall Generator. Additionally, you can also control the randomness of their shapes.

3. Cell Fracture does not create new materials while Stone Wall Generator will add suitable materials for each stone making them more realistic.

4. Cell Fracture works on any type of objects, not just cubes or rectangles. This is exactly where the Cell Fracture Add-on excels over the Stone Wall Generator because the later works only on rectangular mesh objects i.e. walls, floors etc.

5. In our tests, we found that the Cell Fracture Add-on often gives rise to errors (missing pieces). Cell Fracture is a very useful tool, no doubt about that - but it has got its limitations. Hence we need something better for a stone wall.

Now, let me also warn you, it is not a fancy toy - it can take several minutes to run based on the size of the walls and your computer specs. But it's worth it! For example, take a look at the following model, created through our procedural stone wall add-on with a total run time of 3 minutes in a mid-range computer with just 8 GB RAM.


The add-on generates a great level of details for the output mesh and it converts each stone into a separate object while keeping the overall polygon count in check. It would help you to fine-tune the design later if you need.

Doing this whole thing manually can take DAYS! The same task is done in minutes with this add-on, but you can still make it faster following some simple tips.

Performance Tips to reduce the execution time


While the add-on takes a considerable amount of time to execute, all the updates happen in real time. So you can see what is happening, how many stones are created, how they look etc while the add-on is still running. You can escape the operation in case you think you need a few changes in the parameters. However, you can follow the tips below to reduce your wait time.

Use Linked Duplicates. Three things have the biggest impact on how much time it takes to run: 1) The size of your object, 2) Stone size and 3) Stone Quality. Try to use a smaller object for a faster result. For example, if you need to create a very long wall, it is better to first create a part of that wall. Then create some linked duplicates of that part and join them together to create the longer wall. It will be much faster and it won't overload the size of your blend file either.

Use a test run. Often you'll discover that you need to change the parameters in the options you had initially selected. So it is better to execute a few test runs before you make the final model. When you do that, you can turn off the option called Simply Shapes, set the Decimate Level to zero, turn off the option of Wall Joints, and use a lower value for the Stone Quality. Later when you are satisfied with the look & feel of the output, you can set these options as you need and take a final shot.

Do a trade off. The Decimate and the Simply options will add to the processing time, but using them is beneficial because they reduce the poly-count. It will result in a less heavy mesh with an increase in the run-time. If you are not concerned about the resulting mesh, but you need a fast result, you can turn off these two options. Similarly, for most of the use cases, a stone quality of 2 is just sufficient. No need to increase this field if the run-time is a concern. A higher stone quality will also increase the poly-count. So go for it only if you need that extra level of details for a close-up view.

For any assistance on how to use this add-on & for any bug reporting, please feel free to send a mail to 5minblender@gmail.com or connect to us via our YouTube channel. Thank you!

$10

Have questions before purchasing?
Login to message

Details
Sales 40+
Dev Fund Contributor
Published over 1 year ago
Software Version 4.2, 4.1, 4.0, 3.6, 3.5, 3.4
Render Engine Used Cycles, Eevee
License GPL