Difference between revisions of "Part 1: creating a terrain object"

From Divinity Engine Wiki
Jump to: navigation, search
m
Line 23: Line 23:
  
 
First, open the [[File:TerrainPainterPanel_Icon.png|32px]] [[Terrain panel]].
 
First, open the [[File:TerrainPainterPanel_Icon.png|32px]] [[Terrain panel]].
 +
 +
With the terrain panel open, it is time to add a terrain.
 +
 +
<br />
 +
=== Step 2: Creating a terrain ===
 +
[[File:Step1_Create.png|none]]
 +
<sub>The Create New button on the terrain panel</sub>
 +
 +
 +
To begin creating a new terrain object, click the "Create New" button on the top toolbar on the terrain panel. The Create Terrain Form should open up.
 +
 +
<br />
 +
[[File:Step2_OpenResourceManager.png|none]]
 +
<sub>The open resource manager button on the create terrain form</sub>
 +
 +
 +
On the create terrain form, you will see several options. By default, our terrain will be 1 by 1 patches, or 64 by 64 meters. The terrain can always be resized later, so it's best to leave this at 1x1 for now.
 +
 +
One thing we need to do before our terrain object is created is to set a base terrain material. To do this, we need to open the [[File:ContentBrowser_Icon.png|32px]] [[Content browser|Resource Manager]]. Click the resource manager button to open the resource manager.
 +
 +
<br />
 +
[[File:Step3_SelectBaseMaterial.png|none]]
 +
<sub>Selecting a base terrain material in the resource manager</sub>
 +
 +
 +
There are several terrain materials available to us by default which are loaded from the Shared project. To find them, we will need to filter all the resources we have no interest in.
 +
 +
I used the material "TR_Base_RockSlate_C_PBR" as my terrain's base material. To find this resource, follow these steps:
 +
* Type "TR_Base_" in the filter box to find all default base terrain materials <span style="color:#FCFF27">(1)</span>.
 +
* Right click the [[file:ResourceType_Material.png|32px]] material icon to only show material resources <span style="color:#FCFF27">(2)</span>.
 +
* Navigate to the Shared/Assets/Terrain folder <span style="color:#FCFF27">(3)</span>.
 +
 +
 +
Then, click the TR_Base_RockSlate_C_PBR material to select it <span style="color:#FCFF27">(4)</span>.
 +
 +
<br />

Revision as of 16:44, 19 September 2017

This article is part of a series on how to create and edit a terrain. To learn about the terrain panel, head over to Terrain panel.

Part 1: creating a terrain object

This article describes how to create an flat, 64x64 meter terrain object.


Introduction

Creating and editing terrains is a relatively easy process, although it takes time to master.

The Divinity Engine 2 offers several tools for editing terrains, but to get there we first need to create a terrain object in our level.


Creating a terrain object

Step 1: Opening the Terrain Panel

Step0 OpenTerrainPanel.png

The Terrain Panel button


First, open the TerrainPainterPanel Icon.png Terrain panel.

With the terrain panel open, it is time to add a terrain.


Step 2: Creating a terrain

Step1 Create.png

The Create New button on the terrain panel


To begin creating a new terrain object, click the "Create New" button on the top toolbar on the terrain panel. The Create Terrain Form should open up.


Step2 OpenResourceManager.png

The open resource manager button on the create terrain form


On the create terrain form, you will see several options. By default, our terrain will be 1 by 1 patches, or 64 by 64 meters. The terrain can always be resized later, so it's best to leave this at 1x1 for now.

One thing we need to do before our terrain object is created is to set a base terrain material. To do this, we need to open the ContentBrowser Icon.png Resource Manager. Click the resource manager button to open the resource manager.


Step3 SelectBaseMaterial.png

Selecting a base terrain material in the resource manager


There are several terrain materials available to us by default which are loaded from the Shared project. To find them, we will need to filter all the resources we have no interest in.

I used the material "TR_Base_RockSlate_C_PBR" as my terrain's base material. To find this resource, follow these steps:

  • Type "TR_Base_" in the filter box to find all default base terrain materials (1).
  • Right click the ResourceType Material.png material icon to only show material resources (2).
  • Navigate to the Shared/Assets/Terrain folder (3).


Then, click the TR_Base_RockSlate_C_PBR material to select it (4).