Difference between revisions of "Part 3: shaping your terrain"

From Divinity Engine Wiki
Jump to: navigation, search
m
m (Protected "Part 3: shaping your terrain" ([Edit=⧼protect-level-larianeditonly⧽] (indefinite) [Move=⧼protect-level-larianeditonly⧽] (indefinite)))
 
(6 intermediate revisions by one other user not shown)
Line 36: Line 36:
  
  
In this guide I will be using the raise, flatten, smooth and lower interaction modes to sculpt the 64x64 meter terrain we created in part 2 of this series.
+
In this guide I will be using the raise, flatten, smooth and lower interaction modes to sculpt the 64x64 meter terrain we created in part 2 of this series. Keep in mind that for all terrain interaction modes, you can customize the brush by right clicking the interaction mode button, or resize the brush by clicking '[' and ']'.
  
 
<br />
 
<br />
Line 59: Line 59:
 
[[File:Step3_Smooth.png|none]]
 
[[File:Step3_Smooth.png|none]]
 
<sub>Using the terrain smooth interaction mode</sub>
 
<sub>Using the terrain smooth interaction mode</sub>
 +
 +
 +
You probably noticed the jagged edges and hard shadows on the terrain after step 2. This is caused by extreme height differences within short distances. To compensate for this, you can use the terrain smooth interaction mode. To use the terrain smooth interaction mode, toggle the interaction mode button <span style="color:#FCFF27">(1)</span>, hover over the terrain you want to smooth and hold the left mouse button <span style="color:#FCFF27">(2)</span>.
  
 
<br />
 
<br />
Line 64: Line 67:
 
[[File:Step4_Lower.png|none]]
 
[[File:Step4_Lower.png|none]]
 
<sub>Using the terrain lower interaction mode</sub>
 
<sub>Using the terrain lower interaction mode</sub>
 +
 +
 +
Last but not least I lowered some parts of my terrain so that a river can flow through it. Enable the terrain lower interaction mode <span style="color:#FCFF27">(1)</span>, hover over the terrain you want to flatten and hold the left mouse button <span style="color:#FCFF27">(2)</span>.
 +
 +
<br />
 +
== Result ==
 +
[[File:Step5_Result.png|none]]
 +
<sub>The end result of this guide</sub>
 +
 +
 +
To finish my terrain I added some river plane objects and rocks. To do this, open the [[File:RootTemplatePanel_Icon.png|32px]] [[Root template panel]], select a template, enable the [[File:InteractionMode_Creation.png|32px]] creation interaction mode and place some objects in your level.
 +
 +
<br />
 +
== Notes ==
 +
* To be able to walk on and see your terrain, you will need to regenerate the AI grid. The AI grid is a system that calculates pathing, vision and more. To generate the AI grid, open the [[File:AIGridPanel_Icon.png|32px]] [[AI grid panel]] and click the "Full Generate" button. To auto generate the walkable areas correctly, you will also need to place an AI seeder trigger on your terrain before generating the AI grid.
 +
 +
<br />
 +
== See also ==
 +
In the next part of the series we will be painting our terrain.
 +
{| class="wikitable"
 +
|-
 +
| Part 1: creating a terrain object
 +
|-
 +
| Part 2: resizing a terrain object
 +
|-
 +
| [[Part 3: shaping your terrain]]
 +
|-
 +
| [[Part 4: painting your terrain]]
 +
|-
 +
|}
  
 
<br />
 
<br />

Latest revision as of 11:08, 2 October 2017

This article is part of a series on how to create and edit a terrain.

Part 1: creating a terrain object
Part 2: resizing a terrain object
Part 3: shaping your terrain
Part 4: painting your terrain

This article describes how to shape your terrain.


Description

TerrainPanelSculptingTools.png

The terrain sculpting interaction modes on the terrain panel


The following tools allow you to sculpt your terrain:

  • InteractionMode TerrainRaise.png Raise
    Raise terrain height
  • InteractionMode TerrainLower.png Lower
    Lower terrain height
  • InteractionMode TerrainFlatten.png Flatten
    Flatten terrain height
  • InteractionMode TerrainSmooth.png Smooth
    Smooth terrain
  • InteractionMode TerrainSlope.png Slope
    Create a slope on the terrain from point A to B
  • InteractionMode TerrainCut.png Cut
    Cut 1x1 meter cells out of the terrain


In this guide I will be using the raise, flatten, smooth and lower interaction modes to sculpt the 64x64 meter terrain we created in part 2 of this series. Keep in mind that for all terrain interaction modes, you can customize the brush by right clicking the interaction mode button, or resize the brush by clicking '[' and ']'.


Shaping your terrain

Step 1: raising

Step1 Raise.png

Using the terrain raise interaction mode


First, I will use the terrain raise interaction mode to create some basic height levels on my terrain. To do this, select the terrain raise interaction mode (1), hover your mouse over the terrain and hold the left mouse button (2).


Step 2: flattening

Step2 Flatten.png

Using the terrain flatten interaction mode


Next, I flattened some areas of the terrain with the terrain flatten interaction mode. Flattening the terrain will set the height of the terrain within the brush to the height at the center of the brush. To use the flatten interaction mode, first toggle the interaction mode (1), then hover over the terrain you want to flatten and hold the left mouse button (2).


Step 3: smoothing

Step3 Smooth.png

Using the terrain smooth interaction mode


You probably noticed the jagged edges and hard shadows on the terrain after step 2. This is caused by extreme height differences within short distances. To compensate for this, you can use the terrain smooth interaction mode. To use the terrain smooth interaction mode, toggle the interaction mode button (1), hover over the terrain you want to smooth and hold the left mouse button (2).


Step 4: lowering

Step4 Lower.png

Using the terrain lower interaction mode


Last but not least I lowered some parts of my terrain so that a river can flow through it. Enable the terrain lower interaction mode (1), hover over the terrain you want to flatten and hold the left mouse button (2).


Result

Step5 Result.png

The end result of this guide


To finish my terrain I added some river plane objects and rocks. To do this, open the RootTemplatePanel Icon.png Root template panel, select a template, enable the InteractionMode Creation.png creation interaction mode and place some objects in your level.


Notes

  • To be able to walk on and see your terrain, you will need to regenerate the AI grid. The AI grid is a system that calculates pathing, vision and more. To generate the AI grid, open the AIGridPanel Icon.png AI grid panel and click the "Full Generate" button. To auto generate the walkable areas correctly, you will also need to place an AI seeder trigger on your terrain before generating the AI grid.


See also

In the next part of the series we will be painting our terrain.

Part 1: creating a terrain object
Part 2: resizing a terrain object
Part 3: shaping your terrain
Part 4: painting your terrain