====== Importing a heightfield ====== Heightfields can be imported into L3DT using the '//File->Import->Heightfield...//' option in the menu. ===== Supported formats ===== At the time of writing((March 2009)), L3DT supports the following import formats: * '.bmp' - Windows / OS/2 compatible bitmap. * '.bt' - Virtual terrain project. * '.csv' - Comma Separated Value file. * '.hff' - L3DT (old). * '.hf2' / '.hfz' / '.hf2.gz' - L3DT. * '.jpg' - Joint Picture Experts Group image. * '.png' - Portable Network Graphic. * '.pgm' - Portable Grey Map. * '.pcx' - PC Paintbrush Exchange. * '.raw' / '.r16' / '.r32' - Raw binary data file. * '.ter' - Terragen. * '.lbl' / '.img' - Mars Orbital Laser Altimeter (MOLA) data files. Links to further format info may be [[l3dt:formats:support#HF|found here]]. ===== Importing from images ===== When importing from image files you will be asked to input some values, including the altitude range and the horizontal scale: {{ l3dt:userguide:wizards:importhf.png }} If you are importing a RAW image, you also need to set some import options using the '//Options...//' button (discussed next). ===== Importing from RAW files ===== Because [[l3dt:formats:specs:raw|raw binary data files]] contain, in general, no useful header information, you must specify additional information when importing a RAW, including the [[l3dt:formats:specs:raw#width and height]], [[l3dt:formats:specs:raw#mode]] (i.e. data type), and [[l3dt:formats:specs:raw#headersize|header size]] (if any). These settings may be reached by clicking on the '//Options...//' button in the above wizard.