Importing Textures

From Computing and Software Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Texture maps used by the C4 Engine have the .tex file extension.
Texture maps used by the C4 Engine have the .tex file extension.
-
 
+
For more information about Texture Format, please go [http://www.terathon.com/wiki/index.php?title=Importing_a_Texture Importing a Texture]
 +
<br>
'''IMPORTANT'''  
'''IMPORTANT'''  
<br>TGA files may be in 8-bit grayscale, 16-bit, 24-bit, or 32-bit format, with or without RLE compression
<br>TGA files may be in 8-bit grayscale, 16-bit, 24-bit, or 32-bit format, with or without RLE compression
<br>HEIGHT AND WIDTH OF THE TEXTURE MUST BE POWER OF 2 (example: 2, 4, 8, 32, 64, 128, 256, 512...)
<br>HEIGHT AND WIDTH OF THE TEXTURE MUST BE POWER OF 2 (example: 2, 4, 8, 32, 64, 128, 256, 512...)
----
----
-
<br>Put your importing texture under folder "..\C4\Import"
+
<br>The texture map resources must be created by importing textures from the "..\C4\Import" directory using the Texture Importer tool module.
<br>
<br>
Start C4. Select Tool Import Texture
Start C4. Select Tool Import Texture
*pic
*pic
-
Import Texture window is displayed
+
Import Texture window is displayed. Select the texture you want to import and click OK. Another window is displayed.
*pic
*pic
-
Select the texture you want to import and click OK. Another window is displayed.
+
Another dialog window display and the default settings are usually appropriate for ordinary color texture maps.
*pic
*pic
-
Check Flip image vertically, because after texture imported, the texture is upside down
+
Then click OK
-
*pic
+
<br>
-
Texture import into "..\C4\Data"
+
Texture import into "..\C4\Data\tex"
<br>
<br>
<br>Return to [http://www.cas.mcmaster.ca/wiki/index.php/RCaragogo RCaragogo]
<br>Return to [http://www.cas.mcmaster.ca/wiki/index.php/RCaragogo RCaragogo]

Revision as of 13:53, 19 March 2008

Texture maps used by the C4 Engine have the .tex file extension. For more information about Texture Format, please go Importing a Texture
IMPORTANT
TGA files may be in 8-bit grayscale, 16-bit, 24-bit, or 32-bit format, with or without RLE compression
HEIGHT AND WIDTH OF THE TEXTURE MUST BE POWER OF 2 (example: 2, 4, 8, 32, 64, 128, 256, 512...)



The texture map resources must be created by importing textures from the "..\C4\Import" directory using the Texture Importer tool module.
Start C4. Select Tool Import Texture

  • pic

Import Texture window is displayed. Select the texture you want to import and click OK. Another window is displayed.

  • pic

Another dialog window display and the default settings are usually appropriate for ordinary color texture maps.

  • pic

Then click OK
Texture import into "..\C4\Data\tex"

Return to RCaragogo


References
http://www.terathon.com/wiki/index.php?title=Importing_a_Texture

Personal tools