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 25: | Line 25: | ||
}} | }} | ||
| Prepare simple cube 3D model. You can check the video on the left for instructions how to do it. | | Prepare simple cube 3D model. You can check the video on the left for instructions how to do it. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''6''' | ||
+ | | IMG | ||
+ | | Create new material and call it '''simple_box'''. Next, use '''dif.spec''' shader for it. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''7''' | ||
+ | | IMG | ||
+ | | Automatically generate vertex colors. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''8''' | ||
+ | | IMG | ||
+ | | Setup project base path to '''01_simple_cube/base'''. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''9''' | ||
+ | | IMG | ||
+ | | Set the texture for texture placed inside '''01_simple_cube/base/model/simple_cube''' folder. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''10''' | ||
+ | | IMG | ||
+ | | There are no UV maps defined for your mesh so the texture is not looking so good. Create new one. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''11''' | ||
+ | | IMG | ||
+ | | Go back to the materials. Set your newly created map in the '''Mapping''' field. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''12''' | ||
+ | | IMG | ||
+ | | Setup the model export path. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''13''' | ||
+ | | IMG | ||
+ | | Create root object and call it '''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'''. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''14''' | ||
+ | | IMG | ||
+ | | If you went through all those points simply export the model again. | ||
+ | |- style="vertical-align: top" | ||
+ | | '''15''' | ||
+ | | IMG | ||
+ | | If everything went ok you should have now PIT and PIM files in the '''01_simple_cube/base/model/simple_cube''' folder. | ||
|} | |} |