L3DT documentation
Large 3D terrain generator

File input and output FAQ

What file formats are supported by L3DT?

Please consult this page in the user-guide for the latest list. Note additional formats may be available with the help of plugins.

Why is the y-axis inverted in my map file?

Depending on the map-viewing application you use, L3DT maps map appear to be inverted in the y-axis. This is because L3DT uses a right-handed coordinate system, following the convention in mathematics and the physical sciences, which puts pixel (0, 0) at the bottom left-hand corner of the screen (i.e. the southwest). Most 2D graphics applications use a left-handed system with y-inverted so that pixel (0, 0) is at the top-left of the screen (i.e. northwest).

To make L3DT more compatible with this other coordinate system, L3DT includes an 'invert y-axis' option for most file formats. To edit this option, use the 'options…' button in the export wizard or the file preferences dialog.

How do I export the height map in another format?

From the menu, select the 'File→Export→Export map layer' option, then the 'Heightfield' option. This will open the export map wizard, which is described here. The supported file formats are listed on the file formats page.

Does L3DT support 16-bit image exports for height maps?

Yes, L3DT supports the export of heightfields as 16-bit PNG, PGM, and RAW image files.

Does L3DT support disk-paging of terrain and textures?

Yes, disk-paging has been an integral feature of L3DT since release 2.1 (Nov 2003). In L3DT, paged maps are called mosaics because they are split into tiles that are loaded into RAM as required and saved back to the disk-drive when not needed. To make a mosaic map, see the following tutorial pages:

The technical details of the disk paging implementation are discussed on the mosaic algorithms page.

l3dt/faq/io.txt · Last modified: 2017/08/31 04:17 (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