Difference between revisions of "My first: Item"

From Divinity Engine Wiki
Jump to: navigation, search
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
''Welcome to the Items guide. Here you will find the item creation pipeline from modelling to importing your item in Divinity Engine 2.''<br />
+
Welcome to the Items guide. Here you will find the item creation pipeline from modelling to importing your item in Divinity Engine 2.<br />
 +
This article is part of a collection of guides, with a page for every type of item.
  
 +
{| class="wikitable"
 +
|-
 +
| [[My first: Item | General]]
 +
|-
 +
| [[My first: Item - Scenery | Scenery]] (Rocks, plants, trees, shelves, etc.)
 +
|-
 +
| [[My first: Item - Lootable items | Lootable items]] (Shells, plates, food, gems, etc.)
 +
|-
 +
| [[My first: Item - Interactable animated items | Interactable animated items]] (Levers, doors, etc.)
 +
|-
 +
| [[My first: Item - Interactable socket items | Interactable socket items]] (Chairs, beds, etc.)
 +
|-
 +
| [[My first: Item - Weapons | Weapons]] (The sharp stuff)
 +
|-
 +
|}
  
There are different types of Items you can create: <br />
 
* Scenery (Rocks, Plants, Trees, Shelves etc.)
 
* Lootable items (Shells, plates, food, gems etc)
 
* [[Interactable animated items]] (Levers, Doors etc)
 
* Interactable socket items (Chairs, Beds etc)
 
*[[ Weapons | Weapon Guide  ]] (Work in Progress)
 
 
To create items you will need some 3d modelling and texturing skills. <br />
 
To create items you will need some 3d modelling and texturing skills. <br />
Two most important things you need to have if you want to create an Item: item model and it's textures.<br />
+
Two most important things you need to have if you want to create an Item: item model and it's textures.
  
 +
<br />
 +
= File formats =
  
<big>'''File formats'''</big> used by Divinity Engine 2 : <br />
+
In the editor 3d models are saved as granny files (.GR2).<br />
 
+
The textures are saved as DirectDraw Surface (.dds).<br />
In the editor 3d models are saved as granny files .GR2 <small>more info on granny 3d [http://www.radgametools.com/granny.html here]</small> <br />
 
The textures are saved as DirectDraw Surface .dds files <small>more info on dds [https://en.wikipedia.org/wiki/DirectDraw_Surface here]</small><br />
 
  
 +
{| class="wikitable"
 +
|-
 +
| More info on Granny 3D can be found [http://www.radgametools.com/granny.html here]
 +
|-
 +
| More info on DirectDraw Surface can be found [https://en.wikipedia.org/wiki/DirectDraw_Surface here]
 +
|-
 +
|}
  
 
No matter what type of item you want to do your pipeline will consists of:<br />
 
No matter what type of item you want to do your pipeline will consists of:<br />
Modelling > Texturing > Setting up the item in the file > Setting up the item in the editor <br />
+
*Modelling  
 +
*Texturing  
 +
*Setting up the item in the file
 +
*Setting up the item in the editor
 +
 
<br />
 
<br />
 
+
= Modelling =
<big>'''Modellin'''g</big> <br />
 
  
 
You will need a 3d modelling software to create items. If you unfamiliar with 3d modelling we advice you to check some 3d modelling specific guides first.<br />
 
You will need a 3d modelling software to create items. If you unfamiliar with 3d modelling we advice you to check some 3d modelling specific guides first.<br />
 
Places you can find good tutorials about 3d modelling:<br />
 
Places you can find good tutorials about 3d modelling:<br />
* http://polycount.com/ <br />
+
* [http://polycount.com/ Polycount]
* https://cubebrush.co/<br />
+
* [https://cubebrush.co/ Cubebrush]
* youtube tutorials ([https://www.youtube.com/channel/UCSLLdTBwLMfTKWS56tOiQpw/videos good example])<br />
+
* YouTube tutorials ([https://www.youtube.com/channel/UCSLLdTBwLMfTKWS56tOiQpw/videos good example])
 +
 
 +
<br />
 +
= Importing your resources in the editor =
 +
 
 +
If you already have your granny files (.GR2) and Direct Draw Surface (.dds) texture files it's time to import them in the editor.<br />
 +
#Open your Content Browser. Choose a correct package or create a new one.<br />
 +
#Hit the add resource button (highlighted red in the left upper corner) and select what type of resource you want to add.
 
<br />
 
<br />
  
<big>'''Importing your resources in the editor.'''</big> <br />
+
[[File:AddNewResourse.jpeg|none]]
If you already have your .GR2 granny files and .dds texture files it's time to import them in the editor.<br />
+
<br />
1. Open your Content Browser. Choose a correct package or create a new one.<br />
 
2. Hit the add resource button (highlighted red in the left upper corner) and select what type of resource you want to add.
 
[[File:AddNewResourse.jpeg|none]]
 
  
 
After that you'll need to make a new material, assign textures to your new material and assign the material to your mesh.<br />
 
After that you'll need to make a new material, assign textures to your new material and assign the material to your mesh.<br />
 +
To make a new material you have two options: <br />
 +
#Create a new material by pressing "Add resource" button highlighted red on the screenshot above and select material.<br />
 +
#Select any material that you see in content browser right click it and select "Create new from selected". That will create a new material copy with all settings from the original.<br />
 
<br />
 
<br />
To make a new material you have two options: <br />
+
 
1. Create a new material by pressing "Add resource" button highlighted red on the screenshot above and select material.<br />
+
Now you need to assign textures to your material and material to the mesh. <br />
''How to create or edit materials read here.''<br />
+
Depending on the type of the material you're using it can have different texture parameters. <br />
2. Select any material that you see in content browser right click it and select "Create new from selected". That will create a new material.<br />
+
The most standard material we use for items is called Base_PBR.
''Beware that will keep all the textures and parameters of the material you copied.''<br />
+
<br />
 +
 
 +
[[File:AssigningTexture.jpeg|none]]
 +
<br />
 +
 
 +
We are using physical based rendering, it means that you need a base color texture (BM) a physical map (PM) and a normal map (NM)<br />
 +
The physical map (PM) channels are as follow: <br />
 +
* Metalness in red (R) channel
 +
* Roughness in green (G) channel
 +
* Ambient Occlusion is in blue (B) channel
 +
 
 
<br />
 
<br />
Now you need to assign textures to your material and material to the mesh.
 
  
Depending on the type of the material you're using it can have different texture parameters. The most standard material we use for items is called Base_PBR.
+
= See also =
  
[[File:AssigningTexture.jpeg|none]]
+
{| class="wikitable"
 +
|-
 +
| [[My first: Item | General]]
 +
|-
 +
| [[My first: Item - Scenery | Scenery]] (Rocks, plants, trees, shelves, etc.)
 +
|-
 +
| [[My first: Item - Lootable items | Lootable items]] (Shells, plates, food, gems, etc.)
 +
|-
 +
| [[My first: Item - Interactable animated items | Interactable animated items]] (Levers, doors, etc.)
 +
|-
 +
| [[My first: Item - Interactable socket items | Interactable socket items]] (Chairs, beds, etc.)
 +
|-
 +
| [[My first: Item - Weapons | Weapons]] (The sharp stuff)
 +
|-
 +
|}

Latest revision as of 11:00, 24 September 2018

Welcome to the Items guide. Here you will find the item creation pipeline from modelling to importing your item in Divinity Engine 2.
This article is part of a collection of guides, with a page for every type of item.

General
Scenery (Rocks, plants, trees, shelves, etc.)
Lootable items (Shells, plates, food, gems, etc.)
Interactable animated items (Levers, doors, etc.)
Interactable socket items (Chairs, beds, etc.)
Weapons (The sharp stuff)

To create items you will need some 3d modelling and texturing skills.
Two most important things you need to have if you want to create an Item: item model and it's textures.


File formats

In the editor 3d models are saved as granny files (.GR2).
The textures are saved as DirectDraw Surface (.dds).

More info on Granny 3D can be found here
More info on DirectDraw Surface can be found here

No matter what type of item you want to do your pipeline will consists of:

  • Modelling
  • Texturing
  • Setting up the item in the file
  • Setting up the item in the editor


Modelling

You will need a 3d modelling software to create items. If you unfamiliar with 3d modelling we advice you to check some 3d modelling specific guides first.
Places you can find good tutorials about 3d modelling:


Importing your resources in the editor

If you already have your granny files (.GR2) and Direct Draw Surface (.dds) texture files it's time to import them in the editor.

  1. Open your Content Browser. Choose a correct package or create a new one.
  2. Hit the add resource button (highlighted red in the left upper corner) and select what type of resource you want to add.


AddNewResourse.jpeg


After that you'll need to make a new material, assign textures to your new material and assign the material to your mesh.
To make a new material you have two options:

  1. Create a new material by pressing "Add resource" button highlighted red on the screenshot above and select material.
  2. Select any material that you see in content browser right click it and select "Create new from selected". That will create a new material copy with all settings from the original.


Now you need to assign textures to your material and material to the mesh.
Depending on the type of the material you're using it can have different texture parameters.
The most standard material we use for items is called Base_PBR.

AssigningTexture.jpeg


We are using physical based rendering, it means that you need a base color texture (BM) a physical map (PM) and a normal map (NM)
The physical map (PM) channels are as follow:

  • Metalness in red (R) channel
  • Roughness in green (G) channel
  • Ambient Occlusion is in blue (B) channel


See also

General
Scenery (Rocks, plants, trees, shelves, etc.)
Lootable items (Shells, plates, food, gems, etc.)
Interactable animated items (Levers, doors, etc.)
Interactable socket items (Chairs, beds, etc.)
Weapons (The sharp stuff)