Difference between revisions of "Textures"

From Armagetron
 
(4 intermediate revisions by 3 users not shown)
Line 40: Line 40:
  
 
== Wall textures ==
 
== Wall textures ==
 +
[[Image:Trip3.png|thumb|right| the dir_wall has many many great looking posibilities]]
  
 
[[image:differenttrail1.jpg|thumb|right| Example of a different trail texture]]
 
[[image:differenttrail1.jpg|thumb|right| Example of a different trail texture]]
Line 46: Line 47:
  
 
There are two kinds of walls in Armagetron Advanced, therefore there are two different textures for them.  Cycle walls are rendered using <code>dir_wall.png</code> and other walls are rendered using <code>rim_wall.png</code>.
 
There are two kinds of walls in Armagetron Advanced, therefore there are two different textures for them.  Cycle walls are rendered using <code>dir_wall.png</code> and other walls are rendered using <code>rim_wall.png</code>.
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
==  ==
  
 
== Floor Textures ==
 
== Floor Textures ==
Line 60: Line 103:
 
There is one simple sky texture labeled as * sky.png * which, depending on your settings can move and is placed "underneath" an upper sky which shares the * floor.png * texture with the "textured plain" floor. * floor_a * and * floor_b * make up the "dual textured plain" setting in the options of the arma GUI. These textures of the "dual textured plain" are straight Grey lines by default. Using images that exceed 1 pixel in width act in a variety of unintended ways but can ultimately lead to some cool looking grids.
 
There is one simple sky texture labeled as * sky.png * which, depending on your settings can move and is placed "underneath" an upper sky which shares the * floor.png * texture with the "textured plain" floor. * floor_a * and * floor_b * make up the "dual textured plain" setting in the options of the arma GUI. These textures of the "dual textured plain" are straight Grey lines by default. Using images that exceed 1 pixel in width act in a variety of unintended ways but can ultimately lead to some cool looking grids.
  
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
==  ==
 
== Icon & KGN logo ==
 
== Icon & KGN logo ==
  
Line 65: Line 118:
  
 
== Other Textures ==
 
== Other Textures ==
[http://textures.z7server.com Textures Library]
+
[http://web.archive.org/web/20131210063840/http://textures.z7server.com/ Textures Library]
 
TODO (fonts and shadow)
 
TODO (fonts and shadow)
 +
 +
[[Category:Customization]]

Latest revision as of 12:03, 24 August 2021

Texture is just a fancy way of saying "picture". In 3d modeling, you create a representation of an object in three dimensions, and one of the parts of that representation is its surface. When you look at, say, a table in real life, you don't see a bunch of wires and points, do you? No! You see color, patterns, bumps, and various other parts of the table. By looking at the table, your brain determines what it feels like to touch, approximately what it smells/tastes like, and other things. In 3d modeling, we accomplish that by creating what are called textures. A texture isn't anything fancy, though it certainly sounds fancy. All it is is a picture made with your favorite paint program that is laid on top of what would otherwise be just a wire model.

Location of Textures

Armagetron Advanced has two places where you're likely to find textures. One of them is installed by default in a directory aptly named textures. If you look in that directory, you'll see a whole slew of regular graphics files that you can view in a web browser, image file viewer, or whatever. You can modify them in a paint program such as the GIMP, or Adobe's Photoshop. Finally, you can just put completely different images in that directory, and as long as you name them the way the game expects them to be named, your special images will be loaded and rendered onto the models in the game.

Here is a list of texture files that ship with the game:

  • cycle_body.png
  • cycle_wheel.png
  • dir_wall.png
  • floor.png
  • floor_a.png
  • floor_b.png
  • font.png
  • font_extra.png
  • font_s.png
  • icon.png
  • KGN_logo.png
  • rim_wall.png
  • shadow.png
  • sky.png
  • title.jpg
  • wrap.png

Now what are all these files exactly?

Splashscreen

The game's splash screen is the file title.jpg. If you want your own customized splash screen, just put one in there. There are probably some resolution requirements, but I don't know them (hint hint).

Cycle Textures

The default cycle model needs two textures to render. They are:

  • cycle_body.png
  • cycle_wheel.png

Obviously, cycle_body.png is used on the body of the cycle and cycle_wheel.png is used for the wheels.

Wall textures

the dir_wall has many many great looking posibilities
Example of a different trail texture
Another shot of a different trail

There are two kinds of walls in Armagetron Advanced, therefore there are two different textures for them. Cycle walls are rendered using dir_wall.png and other walls are rendered using rim_wall.png.





















Floor Textures

There are three floor textures. The exact textures that are chosen depend entirely on your game settings, so when you work with these textures, you need to work with all possible floor settings. They are additionally rendered onto a colored surface, so when you disable these textures there is still a colored surface underneath.

  • floor.png
  • floor_a.png
  • floor_b.png

Sky & Floor Textures

an example of unintended dual textured plain

There is one simple sky texture labeled as * sky.png * which, depending on your settings can move and is placed "underneath" an upper sky which shares the * floor.png * texture with the "textured plain" floor. * floor_a * and * floor_b * make up the "dual textured plain" setting in the options of the arma GUI. These textures of the "dual textured plain" are straight Grey lines by default. Using images that exceed 1 pixel in width act in a variety of unintended ways but can ultimately lead to some cool looking grids.






Not implemented in the actual game as far as I can tell. Perhaps its a developer's signature or something. Anyhow the game plays without them.

Other Textures

Textures Library TODO (fonts and shadow)