CCG/Modelling: Textures and File Sizes

From TrainzOnline
< CCG
Revision as of 13:19, 15 June 2011 by Pev (Talk | contribs)

Jump to: navigation, search

TEXTURES and FILE SIZES

Textures images should be .tga files (24 bit).

An alpha channel may be used for opacity, within the .tga file (32 bit). Alternatively, a separate .bmp file (16 or bit) may be used for opacity.


While .jpg files may be used, it is not recommended, as they are a compressed file format, and lose quality if repeatedly loaded and re-saved. The .jpg file format does not support an alpha channel. In TS2009 onwards, there is no performance hit for using .jpg images, as they are converted to textures by Content Manager on committing into the asset database. Image quality is the sole reason for avoiding them.


The materials are of Multi/Sub-Object type (one M/SO only per model) and we have used UVW Map and Unwrap UVW for texture allocation. Textures must be of following pixel dimensions: 8, 16, 32, 64, 128, 256, 512 and 1024 pixels. Maximum ratio = 1:8 e.g. 64x512


Diffuse Maps: In many cases a single 512x1024 24-bit .tga file is sufficient to texture a locomotive. TS2009 onwards now supports 2048x2048 pixel textures, though only one of this size per asset should be used if possible. We recommend not making them any larger than this.


Occasionally an extra texture (say 128x256) can be added.


Reflection maps are supported (16 bit colour .bmp). We generally set train body reflection amounts (in 3dsmax) to 10 and windows to 25.

DO NOT use reflection mapping on rollingstock bodies for TS2009 onwards.

The shine is now controlled by specular mapping using an alpha channel in the normal map. Confine the use of reflection maps for wheel rims, and take care with the settings as undesirable effects can be caused in night renders.


Opacity Maps (8 bit greyscale .bmp) are also supported to the EXACT same pixel dimensions as the diffuse map. Again TS2009 onwards handle blended alpha differently from previous versions. Use masked alphas where-ever possible, and try to confine blended alphas to areas where they will not be stacked..(one viewed through another)

Where possible, opacity maps should be included as an alpha channel of the main diffuse texture .tga file.


Reflection and Opacity maps must not be used together within the same texture. Reflection and Opacity maps must not be used on digits. Window opacity is derived from the material and opacity settings - see material naming conventions.


Previous Page . . . Next Page

Return to CCG Index

Content Creator's Guide

Personal tools