Texture Guidelines

From The DarkMod Wiki
Revision as of 16:58, 5 December 2005 by New Horizon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

[size=4]Texture Guidlines FAQ:[/size]

[color=#FF0000]Q: What is the darkmod_hires CVS directory for?[/color] [color=#3333FF]A: To help us maintain our high and low res textures, we have had to setup a [b]darkmod_hires[/b] repository on CVS. It will contain [b]map, object and character[/b] hi_res textures that will later be released as a self installing upgrade package.[/color]

[color=#FF0000]Q: When do I upload to the darkmod_hires repository?[/color] [color=#3333FF]A: Anytime an original texture exceeds the texture specifications listed below[/color].

[color=#FF0000]Q: What if the texture does not exceed the texture specifications?[/color] [color=#3366FF]A: Then upload directly to the regular 'darkmod' directory. No hires copy is needed.[/color]

[color=#FF0000]Q: I have uploaded my hires textures, now what?[/color] [color=#3366FF]A: Switch back to the regular 'darkmod' mod directory and upload the low res textures.[/color]

[color=#FF0000]Q: How do I download the hires textures?[/color] [color=#3366FF]A: In the same way you download the rest of the mod. The only exception is that you have to change the file path while using the darkmod_hires directory. [/color]

[color=#FF0000]Q: What is the reason for having these texture guidelines?[/color] [color=#3366FF]A: There are several.

1. To make downloading the mod easier for our members who are on dialup. 2. To prevent the mod from ballooning into a huge monster. Uncompressed TGA's add up quickly. 3. To make the mod accessible to members and eventually players who will not have high end computers that are capable of handling the textures. [/color]


Here is the basic setup for uploading and downloading from this repository. [img]hires.jpg[/img]


[size=4]TEXTURE GUIDELINES:[/size] Texture groups should attempt to stay within the following standards. [b] Format: TGA with RLE 24 bit Lossless Compression.[/b]

Renz and I tried to create a priority based forumla for different entities within the game. With this formula,the largest TGA textures (512x512) weigh in at roughly [b]700 kb[/b] with 24 Bit, RLE lossless compression.

[color=blue][i]Do keep a backup of the ultra hi-res versions of your work. Try not to forget that you must upload a high res and low res version to their respective repositories.[/i][/color]

[size=5][b]Tiled textures- Walls, Floors, Ceiling, Doors...ect -[/b] [color=red]Diffuse: [ Min/Max: 512 x 512] Normal: [ Min/Max: 512 x 512] Specular: [ Min/Max: 256 x 256][/size]

[b]Large objects- Beds, barrels, chairs, bookshelves-[/b] [color=red]Diffuse: [ Min/Max: 512 x 512] Normal: [ Min/Max: 256x256] Specular: [ Min/Max: 128 x 128][/color]

[b]Small objects- Keys, books, goblets, utensils-[/b] [color=red]Diffuse: [ Min/Max: 256 x 256] Normal: [ Min/Max: 128 x 128] Specular: [ Min/Max: 128x128][/color]

[b]AI: All characters-[/b] [color=red]Diffuse: [ Min/Max: 512 x 512] Normal: [ Min/Max: 512 x 512] Other: [ Min/Max: 256x256][/color][/color]


By following this formula on the models/props/textures folder, I was able to reduce its size to under [b]30 megs[/b], from over [b]70 megs[/b]. That's a considerable difference at no discernable cost to quality.

What's great about this is that is doesn't require using lossy compression. We retain high quality looks, but only at slightly reduced resolution.