ZoneBuilder/Help/gzdb/features/classic_modes/mode_importterrain.html

40 lines
2.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GZDoom Builder features</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="../../../default.css" media="screen" title="Default" />
</head>
<body>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="keyword" value="Template">
</object>
<div id="gz_title">
<h1>Terrain Importer</h1>
</div>
<div id="contents">
<p>This mode allows you to create sectors from a Wavefront .obj model.<br />
<b>Menu path:</b> File -&gt; Import -&gt; Wavefront .obj as Terrain.<br>
<b>Action category:</b> Tools.<br />
<b>Default key:</b> none.</p>
<p><strong>Usage:</strong><br />
Create a terrain model in your favorite 3D modeling app (<a href="http://www.blender.org/">Blender</a>, <a href="http://www.earthsculptor.com/">Earth Sculptor</a> or any other, which can save or export a model to Wavefront .obj format)<br />
Use <strong>File -&gt; Import -&gt; Wavefront .obj as Terrain</strong> action to import it as sectors. Each polygon in your model will be transformed into a sector.</p>
<strong>Settings:</strong><img style="float:right" src="import_terrain_settings.jpg"/><br />
<em>Scale:</em> self explanatory. The default is 1.0.<br />
<em>Up axis:</em> should be the same as vertical axis in the 3D modeling app used to create a terrain model.<br />
<em>Sloped terrain:</em> when enabled, the mode will generate sloped terrain using floor vertex height offsets (&quot;ZFloor&quot;) in UDMF or Vertex slope floor (1504) things. Regardless of this setting, the mode will also set each new sector's floor height to the averaged height of a polygon it was created from.<br />
<br />
<strong>Limitations:</strong><br />
The model should be triangulated.<br />
Polygons should not overlap each other when viewed from the top.<br />
<p><img src="terrain1.jpg" alt="" width="842" height="722" /></p>
<p><img src="terrain2.jpg" alt="" width="842" height="632" /></p>
</div>
</body>