Generating the Terrain and Objects
Generation Settings#
The generation-related settings are available in the following window:
Data Types#
Via this setting, you can select the types of data to be generated. This may speed up the process of terrain regeneration: for example, if you changed only vector objects, you don't need to generate the terrain again.
Categories of objects differ depending on which terrain object you select.
Distributed Computing#
This option allows using several computers united into a network to speed up the terrain generation process if the data scope is too big for one computer to manage. For more details, read this article.
Path to the Project Storage#
Sandworm stores the paths to all data sources as well as all generation parameters as an asset. So, after setting up all output parameters, save the Sandworm project by choosing File -> Save or File -> Save As and specifying the name and path for your asset.
The Sandworm project can be stored only inside the /data folder.
Path to Cache Storage#
The button is used to clean the cache folder. We recommend clearing cache before you start terrain generation.
Cache stores the data for Export Area. If you don't set the export area, the cache is created for all sources that were added to the project. This data is reused if you decide to set the export area.
If Export Area is redefined, and it contains the parts of the previously defined export area, the cache is reused to speed up the generation process.
Parameters Required for Generation#
If any parameters required for the generation have not been set, they are highlighted red and clickable. Clicking on the highlighted words opens the corresponding output settings for adjustment.
Generation#
To generate the terrain, define the required output settings and click the Generate button.
As a result of the terrain generation, Sandworm creates the hierarchy of nodes displayed in the World Nodes window. The scope of nodes depends on the Format selected in the Output settings:
|
The World Clutter object is generated only if Object Terrain Global is selected as the output format. |
Regeneration#
Terrain can be generated once again after some changes have been made. Depending on the character of changes (added or deleted vector objects, landcover objects, or modified the terrain itself), you can select the type of source data that has been changed, and only this type of data will be updated in the world; all other data previously generated by Sandworm will remain unchanged.
Headless Mode#
A project can be generated without running the Editor. To do that, create a Sandworm project and prepare everything for generation, then close the Editor and run /bin/SandwormNode_double_x64.exe (or /bin/SandwormNode_x64.exe, depending on the project precision) with the following argument:
--sw_generate my_project.sworm
The project will be generated and stored in the specified output world.