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.
 +
'''IMPORTANT'''  
'''IMPORTANT'''  
-
<br>THE IMPORTING TEXTURE MUST BE IN [http://filext.com/file-extension/TGA TGA] FORMAT
+
<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>Put your importing texture under folder "..\C4\Import"
Line 17: Line 18:
<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]
 +
----
 +
'''References'''
 +
<br>http://www.terathon.com/wiki/index.php?title=Importing_a_Texture

Revision as of 18:13, 18 March 2008

Texture maps used by the C4 Engine have the .tex file extension.

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...)



Put your importing texture under folder "..\C4\Import"
Start C4. Select Tool Import Texture

  • pic

Import Texture window is displayed

  • pic

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

  • pic

Check Flip image vertically, because after texture imported, the texture is upside down

  • pic

Texture import into "..\C4\Data"

Return to RCaragogo


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

Personal tools