L3DT users' wiki
Large 3D terrain generator

Using Megatextures

When using extremely large and detailed textures in Sapphire, there are a few tips and rules to be considered. These are explained below.

Tile size and patch size

In Sapphire, the terrain is broken into 'patches' that typically cover 64×64 heightfield pixels. If the texture is a mosaic, each texture tile must cover at least one terrain patch, or else there will be visible streaking of the texture. For small textures (8x texture resolution or less), you do not have to do anything for the texture to render properly in Sapphire, so long as you keep the texture tile size at 512px or an integral multiple thereof. However, for extremely high-resolution textures (16x, 32x), you will have to adjust the texture tile size and/or the patch size for it to render properly. Suggested values for texture tile size and patch size are given below.

The texture tile size is set in the texture wizard, and the patch size is set in the 'Extensions→Sapphire→Edit settings' menu option, under 'Terrain→ROAM→PatchSize'.

Using 32x texture res

For 32x texture res, you may use the following combinations of terrain patch size and texture tile size:

Patch size Tile size
64 (default) 2048
32 1024
16 512

Of these, the 32/1024 combination is recommended.

Using 16x texture res

For 16x texture res, you may use the following combinations of terrain patch size and texture tile size:

Patch size Tile size
64 (default) 1024
32 512

Of these, the 64/1024 combination is recommended.

Using 8x texture res or less

For texture resolutions of 8x or less, use 512x tiles and leave the patch size at 64.

Video memory usage

This section is incomplete! FIXME

 
plugins/sapphire/userguide/megatextures.txt · Last modified: 2017/08/31 06:06 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki