Difference between revisions of "Changing textures"

From XStoryPlayer Wiki
Jump to: navigation, search
Line 4: Line 4:
  
 
The character sounds can be found in the <code>./pack/pack_dungeon/ai/speech/default</code> directory.
 
The character sounds can be found in the <code>./pack/pack_dungeon/ai/speech/default</code> directory.
 +
 +
===Texture format===
 +
 +
Color textures are in .dds file format.
 +
 +
A .dds file is an compressed image format like .png or .jpg. It contains reduced (mipmapped) versions of the image and it can directly be used as a compressed texture by the graphics card.
 +
 +
Bump/displacement/normal images are not in the .dds file format because that results in artifacts due to its normalized nature.
 +
 +
===Opening a .dds file===
 +
 +
<ol>
 +
<li>Most image editors have a plugin that allows you to open .dds files. This tutorial assumes you will be using Photoshop.<br>
 +
Download a .dds plugin for photoshop here.
 +
</li>
 +
</ol>

Revision as of 14:34, 6 January 2015

The scene textures can be found in the ./pack/pack_dungeon/scenes/textures directory.

The scene sounds can be found in the ./pack/pack_dungeon/scenes/sounds directory.

The character sounds can be found in the ./pack/pack_dungeon/ai/speech/default directory.

Texture format

Color textures are in .dds file format.

A .dds file is an compressed image format like .png or .jpg. It contains reduced (mipmapped) versions of the image and it can directly be used as a compressed texture by the graphics card.

Bump/displacement/normal images are not in the .dds file format because that results in artifacts due to its normalized nature.

Opening a .dds file

  1. Most image editors have a plugin that allows you to open .dds files. This tutorial assumes you will be using Photoshop.
    Download a .dds plugin for photoshop here.