Difference between revisions of "Tutorials/Beginners/Simple cube/2. How to create & export simple cube model"
< Tutorials | Beginners | Simple cube
Jump to navigation
Jump to search
Line 57: | Line 57: | ||
| [[File:Simple_cube_create_root.jpg]] | | [[File:Simple_cube_create_root.jpg]] | ||
| Create the root object. | | Create the root object. | ||
+ | |||
{{Tip|Make sure the 3D cursor position is X: 0, Y: 0, Z: 0}} | {{Tip|Make sure the 3D cursor position is X: 0, Y: 0, Z: 0}} | ||
− | |||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
| '''14''' | | '''14''' | ||
+ | | [[File:1Simple_cube_call_root.jpg]] | ||
|Call the root object '''simple_cube'''. | |Call the root object '''simple_cube'''. | ||
Revision as of 16:20, 23 February 2016
1 | Create folder called 01_simple_cube. | |
2 | Inside 01_simple_cube create folder called base which will be the root folder of your mod data. | |
3 | Inside 01_simple_cube/base create folder called model (1) and then inside it create folder called simple_cube (2). | |
4 | Create texture using your favorite image editor and save it as .tga file inside the 01_simple_cube/base/model/simple_cube folder. | |
5 | Prepare simple cube 3D model. You can check the video on the left for instructions how to do it. | |
6 | Create new material and call it simple_box (1). Next, use dif.spec (2) shader for it. | |
7 | Automatically generate vertex colors. | |
8 | Setup project base path to 01_simple_cube/base. | |
9 | Browse for the texture you created and select it. | |
10 | There are no UV maps defined for your mesh so the texture is not looking so good. Create new one. | |
11 | Go back to the materials. Set your newly created map in the Mapping field. | |
12 | Setup the model export path. | |
13 | Create the root object.
TIP: Make sure the 3D cursor position is X: 0, Y: 0, Z: 0 | |
14 | File:1Simple cube call root.jpg | Call the root object simple_cube.
The root object name defines name of the exported file. So If you call the root object simple_cube exported files will be also called simple_cube.extension. |
15 | IMG | If you went through all those points simply export the model again. |
16 | IMG | If everything went ok you should have now PIT and PIM files in the 01_simple_cube/base/model/simple_cube folder. |