User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
textures:myfirst [2005-09-13 11:08]
Carsten Fixed the links to zip and tar.gz files, and indendation in <code> blocks.
textures:myfirst [2013-01-07 12:07] (current)
Line 1: Line 1:
-This tutorial has 2 part. The first part covers ​textures ​for maps and the second part covers skins for models.+====== Using own textures ​======
  
-__**Part 1: Map textures**__+ 
 +This tutorial has 3 part. The first part covers textures for maps, the second part covers skins for models and the third part skybox textures. 
 + 
 +===== Part 1: Map textures ​=====
  
 Create your texture. Then save it into one of the supported file formats (those are: .jpg, .png, .tga, .bmp). Create your texture. Then save it into one of the supported file formats (those are: .jpg, .png, .tga, .bmp).
  
-Go into your Ca3DE directory ​(Ca3DE-MDK -> Projects -> Ca3D-Engine) ​and from there into the textures directory: **Games -> DeathMatch -> Textures**. There it should somehow look like this:+Go into your Cafu directory and from there into the textures directory: **Games -> DeathMatch -> Textures**. There it should somehow look like this:
  
 {{textures:​tut1_1.jpg}} {{textures:​tut1_1.jpg}}
Line 38: Line 41:
  
  
-__**Part 2: Model textures**__+ 
 +===== Part 2: Model textures ​=====
  
 Using own skins (model texures) is as easy as using map textures. There are only slight differences. Using own skins (model texures) is as easy as using map textures. There are only slight differences.
  
-Instead of being placed in a directory in the textures directory ​yo have to place them in one of the directories in the Models (like the models themselves) directory. Let's say we place them into the Static directory that is placed in the Models directory. Our shader-file has to be placed in the Models directory that can be found in the Materials directory. It would look like this:+Instead of being placed in a directory in the textures directory, you have to place them in one of the directories in the Models (like the models themselves) directory. Let's say we place them into the Static directory that is placed in the Models directory. Our shader-file has to be placed in the Models directory that can be found in the Materials directory. It would look like this:
 <​code>​ <​code>​
 Models/​Static/​mymodelname/​a_name_for_my_skin Models/​Static/​mymodelname/​a_name_for_my_skin
Line 60: Line 64:
  
 Well that's it! If there are questions, feel free to post them in the forums! Well that's it! If there are questions, feel free to post them in the forums!
 +
 +===== Part 3: Skybox textures ======
 +
 +You can find detailed tutorial concerning the integration of new skyboxes here:
 +
 +  * [[textures:​skydomes#​how_to_integrate_a_skybox_into_cafu|How to integrate a skybox into Cafu]]
 +
 +
textures/myfirst.1126602522.txt.gz · Last modified: 2013-01-07 12:07 (external edit)