Terrain creation – ShiVa Engine

Terrain creation

Create an Empty Terrain
In the SceneViewer:
Open a scene and place a DefaultDynamicLightSet inside.

In the TerrainEditor, create a Terrain:
- Menu Terrain > Create
- Choose 8x8 chunks, with a resolution of 32x32 units per chunk.
- Click OK.

A flat terrain has been created.
Switch to the "Materials" rollup.
Check "Receive dynamic lighting".
Switch back to the "Chunks" rollup.
Select all chunks.

Add noise, level and frequency

Switch to the "Geometry" rollup.
Add a noise layer :
- Click on the "Add" button.
- Choose "Noise".

Adjust parameters :

You can check "Auto update" or click on the button "Apply" to see changes in the SceneViewer.

Add a level layer :
- Click on the "Add" button.
- Choose "Level".

Adjust parameters :

Add a high frequency noise layer :
- Click on the "Add" button.
- Choose "Noise".

Adjust parameters :

Paint and erod

Select the last created noise layer.
Click on the "Paint" button.
You can now paint a mask for this layer on the selected chunks.

Add an erosion layer :
- Click on the "Add" button.
- Choose "Erode".

Adjust parameters :

Add snow

In the SceneViewer :

Open a scene containing a non textured terrain.
In the selection menu, choose the chunk selection mode.
Select the chunks you want to texture.

Switch to the "Material" rollup.
- Add a snow layer :
- Click on the "Add" button.

Adjust parameters :

Once you have set up the parameters, click on the button "OK".
In the viewport, nothing has changed : you have to rebuild the "mega texture".

To preview the mega texture for only a small number of chunks :
Select the desired chunks.
-Click on the "Texture - Preview" button.
This will create a low resolution version of the texture.

To build the production quality mega texture for only a small number of chunks :
Select the desired chunks.
- Click on the "Texture - Production" button.
This will create a high resolution version of the texture.

To build the production quality mega texture for all chunks :
- Click on the menu "Edit > Rebuild all textures".

To build the mega texture levels of detail :

- Click on the menu "Edit > Rebuild missing low resolution textures".

Add rock

Click on the "Add" button.

Adjust parameters :

Build your mega texture.