L3DT documentation
Large 3D terrain generator

Export overlapped tiles

The 'File→Export→Export overlapped tiles' menu option allows you to export a map layer as a set of tiles, where neighbouring tiles overlap by one row/column of pixels to ensure they can be joined seamlessly in 3rd party renderers.

When you select the 'File→Export→Export overlapped tiles' menu option, you may be prompted to select the map layer to export1), and then you will be asked to enter the base file name for the tile set (see base path, below), and finally you will be shown the 'Export overlapped tiles' window, in which you can edit the other relevant exporter settings.

The 'export overlapped tiles' window.
The 'Export overlapped tiles' window

The settings in this window are described below.

Base path

The base path is the full path to the first tile in the set, which by default will be the southwest corner tile. When multiple tiles are to be exported, the file names of other tiles in the set will have the coordinates appended to the base path before the extension.

The example below shows the file names of the 9 tiles in a 3×3 set of tiles, where the base path was 'basepath.abc':

basepath_x0y2.abc basepath_x1y2.abc basepath_x2y2.abc
basepath_x0y1.abc basepath_x1y1.abc basepath_x2y1.abc
basepath.abc basepath_x1y0.abc basepath_x2y0.abc

Note that x coordinates increase to the east, and y coordinates increase to the north.

File format

The file format dropdown list allows you to select the file format that will be used to export the tiles. This exporter supports all file formats that are supported by L3DT for each type of map, excluding mesh file formats (obj, 3ds, dae, etc.), which are handled by the 'File→Export→Export optimised mesh' menu option (see user guide.)

When you change the selection in the file format dropdown list, the base path field will be automatically updated with the new file extension, and vice versa.


The options… button allows you to edit the optional settings, if any, that are available for the selected file format.

Please note that changes made to file format options in this exporter will not be remembered for next time. To make permanent changes to file format options, please use the 'File→Format preferences' menu option (see user guide.)

Most file formats include an 'InvertY' option, which allows you to flip the map vertically so that the coordinate origin is at the northwest corner (i.e. top left).

Tile size

The Tile size field specifies the width and height, in pixels, of each of the tiles. Note that this number includes the extra 1 pixel-wide row and column of data added to the north and eastern tile edges that duplicates the first row/column of the neighbouring tiles.

The default tile sizes, as selected using the up/down buttons, are powers of two plus one, such as 513, 1025, 2049, etc. You can manually enter any tile size you like.

Please note that the exporter will automatically resize the map to completely fill all tiles. If this is necessary for your map and choice of tile size, you will be prompted to confirm or cancel.

Format file names for Unreal

By default, L3DT formats file names of the tiles with suffixes of the form “_x0y0.xyz”, where the digit(s) following x and y indicate the x and y coordinates of the tile in the mosaic map. The Format file names for Unreal checkbox changes the formatting to match the format expected by UE4, which is “_x0_y0.xyz” (i.e. an underscore between the x and y coordinates).

1) This is skipped when there is only one layer available.
l3dt/userguide/io/export/overlapped_tiles.txt · Last modified: 2017/08/31 05:57 (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