— |
l3dt:algorithms:tx [2017/08/31 06:17] (current) |
| + | ====== Texture mapping algorithms ====== |
| | | |
| + | |
| + | |
| + | |
| + | ===== Overview of textures in L3DT ===== |
| + | |
| + | L3DT generates ground texture images, such as that shown below, by blending together a light map and a set of texture materials for each land type (e.g. grass, rock, snow). The distributions of land types are defined in the [[l3dt:reference:maps:am|attributes map]], which is in-turn calculated from the terrain slope, curvature, altitude, water-table depth, etc (see [[l3dt:algorithms:cli:am_algo|calculation details]]). The final texture for each land type is calculated from a '[[l3dt:algorithms:cli:material|material]]', which is a set of texture and bump-map images, plus a few blending parameters. The material for each land type are set in the [[l3dt:userguide:climates:ltedit:pane3|land type editor]] on the 'appearance' pane. |
| + | |
| + | <html><p class = "wikiex_p_img"></html> |
| + | {{l3dt:algorithms:tx:tx_example.jpg}} |
| + | <html><br/> |
| + | A typical ground texture. |
| + | </p></html> |
| + | |
| + | Recent examples of L3DT textures rendered in 3D can be seen in the [[http://www.bundysoft.com/L3DT/gallery/|image gallery]]. |
| + | |
| + | ===== High resolution textures ===== |
| + | |
| + | L3DT can generate massive unique textures (also known as [[wp>Megatexture|megatextures]]) with up to 32x32 pixels per heightfield pixel, and a total texture size of up to 4M x 4M pixels. Automatic [[l3dt:algorithms:mosaics|image-tiling]] for large maps is a standard feature for all supported image formats((Currently supported image formats are bitmap, JPEG, PNG, TGA and DDS, and more can be added by plugins.)), and all versions of L3DT. |
| + | |
| + | For information on using L3DT's texture mapping features, please refer to the [[l3dt:userguide:ops:tx|texture mapping]] page in the user-guide. |
| + | |
| + | ===== Texture anti-aliasing ===== |
| + | |
| + | <note important> |
| + | Sorry, this section is incomplete. FIXME |
| + | </note> |
| + | |
| + | ===== Concealing texture-repeating artefacts ===== |
| + | |
| + | <note important> |
| + | Sorry, this section is incomplete. FIXME |
| + | </note> |
| + | |
| + | ===== Texture rendering in Sapphire ===== |
| + | |
| + | <note important> |
| + | Sorry, this section is incomplete. FIXME |
| + | </note> |