![]() Textures Tab |
|||
![]() DEdit uses a special format for its texture files, which have a .DTX extension. These files have four textures in them, with each successive image being half the width and height of the previous. That is, if the first texture is 256x256 pixels, the second is 128x128, the third 64x64, and the fourth 32x32. This group of textures is called a mipmap. When LithTech runs your game, it determines which texture to use based on the distance from the viewpoint to the polygon that has the mipmap. Your user cannot see the details of a 256x256 texture if its 1000 units away, so the further the distance the smaller the texture that LithTech displays. By default, DEdit automatically creates three lower-grade textures when you import a .PCX file. It combines the original .PCX image and the three new images into the new .DTX file. You may prefer more control over the appearance of the lower-grade textures. To do so, create four .PCX files whose sizes follow the .DTX pattern. Then import them as MIP PCX files. That process is described below. Select any texture file in the middle section of this tab to see a preview of that texture in the bottom section. Textures Tab Context Menu ![]() Select Import PCX Files to display an Open dialog box filtering for .PCX files. Locate the desired file, select it, and click Open. DEdit creates a new .DTX file based on the selected .PCX file and places it in the selected textures directory. Select Import MIP PCX Files to display an Open dialog box filtering for .PCX files and requesting the first of four files. Locate the largest .PCX file for this mipmap, select it, and then click Open. The Open dialog now requests the second file; locate the second-largest .PCX file for this mipmap, select it, and then click Open. Continue to select the third and fourth files for this mipmap. DEdit now creates a new .DTX file based on the .PCX files you selected and places it in the selected textures directory. Select Import Textures to display an Open dialog box filtering for .DTX files. Locate the desired file, select it, and then click Open. DEdit copies it to the selected textures directory. After selecting a texture file, select Export PCX File on the context menu to display a Save As dialog box. Select a destination folder, enter a filename, and then click Save. DEdit creates a .PCX file using the largest image in the .DTX file. ![]() When importing .PCX or .DTX files, multiple files can be selected simultaneously and created or copied in one operation. |
|||
![]() |
For more
information, visit the official LithTech site at http://www.lithtech.com |