Design map fileThe L3DT design map file (DMF) stores a number of design parameters for the heightfield, including altitude, erosion strength, sea-flooding flags, and so-forth. The data is preceded by a 11-byte1) header containing the following information:
The map data itself has 10 bytes per pixel, which are explained below. The pixels are ordered in rows going west-to-east, with south-to-north row-order.
These values are used in the design/inflate heightfield algorithm.
As of L3DT v2.4a build 15, the loading and saving of the DMF format is handled by the 'L3DTio_DMF.dll' plugin, the source code of which is (at the time of writing) available in the L3DT Plugin API. This may be very useful for those interested in importing/exporting/modifying design maps.
1)
Yeah, I know this should be DWORD aligned. Next time I revise the spec, I'll be sure to remember that.
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|