root/OpenSceneGraph/trunk/doc/osgdem.html @ 3262

Revision 3262, 24.7 kB (checked in by robert, 13 years ago)

Added osgdem quick usage guide

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
2<html>
3<head>
4  <meta http-equiv="Content-Type"
5 content="text/html; charset=iso-8859-1">
6  <meta name="GENERATOR"
7 content="Mozilla/4.77 [en] (X11; U; Linux 2.4.3-20mdk i686) [Netscape]">
8  <title>examples</title>
9</head>
10<body text="#000000" bgcolor="#ffffff" link="#0000ff" vlink="#990066"
11 alink="#ff0000">
12<img src="images/OpenSceneGraphBanner_Distribution.jpg">
13<table>
14  <tbody>
15    <tr>
16      <td><a href="index.html">Index</a></td>
17      <td><a href="introduction.html">Introduction</a></td>
18      <td><a href="contents.html">Contents</a></td>
19      <td><a href="install.html">Install</a></td>
20      <td><a href="dependencies.html">Dependencies</a></td>
21      <td><a href="examples.html">examples</a></td>
22      <td><a href="data.html">Data</a></td>
23      <td><a href="osgviewer.html">Viewer</a></td>
24      <td><a href="stereo.html">Stereo</a></td>
25      <td><a href="osgdem.html">osgdem</a></td>
26      <td><a href="plan.html">Plan</a></td>
27      <td><a href="documentation.html">Reference Guides</a></td>
28    </tr>
29  </tbody>
30</table>
31<h2>
32<a name="Using_osgdem"></a><u>Using osgdem to generate geospatial
33terrain databases</u></h2>
34<ol>
35  <li><a href="#Quick_step_by_step_guide:">Quick step by step guide</a></li>
36  <li><a href="#osgdem_options">osgdem options</a></li>
37</ol>
38<hr style="width: 100%; height: 2px;">
39<h3><a name="Quick_step_by_step_guide:"></a>Quick step by step guide:</h3>
40Follows are a the steps required to get osgTerrain/osgdem compiling and
41an example of how to use it to process imagery and dem's to gernerate a
42paged databases.<br>
43<br>
441) Download, compile &amp; install GDAL. <br>
45&nbsp;<br>
462) Get the latest OSG in CVS.<br>
47<br>
483) For unix Make users, make a copy of Make/dependencies and change the
49GDAL_INSTALL entry to:<br>
50<br>
51<div style="margin-left: 40px;"><span style="font-weight: bold;">set
52GDAL_INSTALL = true </span><br>
53<span style="font-weight: bold;"></span></div>
54<span style="font-weight: bold;"><br>
55&nbsp;&nbsp;&nbsp; </span>Then tell the build to use you custom
56dependencies by setting the environmental variable OSG_DEPENDENCIES to
57the absolute path to your file i.e.:<br>
58<br>
59<div style="margin-left: 40px;"><span style="font-weight: bold;">export
60OSG_DEPENDENCIES=/home/billgates/my_osg_dependencies</span><br>
61</div>
62&nbsp;<br>
634) Rebuild the OSG &amp; install (if you havn't already used <br>
64&nbsp;<br>
655) Oh make sure you have a couple Gb of spare disk space,&nbsp; because
66you going need it :-) <br>
67&nbsp;<br>
686) Download some data, for this example I'm using the PegoutSound data
69at: <br>
70&nbsp;<br>
71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
72 href="http://www.cc.gatech.edu/projects/large_models/ps.html">http://www.cc.gatech.edu/projects/large_models/ps.html
73</a><br>
74&nbsp;<br>
75&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Download Elevation Map:
7616385 &times; 16385 PNG: 188MB <br>
77&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Download Texture Map:
7816384 &times; 16384 PNG: 268MB &nbsp;<br>
79<br>
807) To avoid aliasing artifcates when accessing data I use <a
81 href="http://www.remotesensing.org/gdal/gdal_utilities.html">GDAL
82utilitiy
83programs</a> to generate overviews (basically mip maps stored in the
84.tif)
85via: <br>
86&nbsp;<br>
87<br>
88<div style="margin-left: 40px;"><span style="font-weight: bold;">gdal_translate
89ps_height_16k.png
90ps_height_16k.tif </span><br>
91<span style="font-weight: bold;">gdaladdo -r average ps_height_16k.tif
922 4 8 16 32 </span><br style="font-weight: bold;">
93<span style="font-weight: bold;">&nbsp;&nbsp; </span><br
94 style="font-weight: bold;">
95<span style="font-weight: bold;">gdal_translate ps_texture_16k.png
96ps_texture_16k.tif </span><br style="font-weight: bold;">
97g<span style="font-weight: bold;">daladdo -r average ps_texture_16k.tif
982 4 8 16 32 </span><br style="font-weight: bold;">
99</div>
100<span style="font-weight: bold;">&nbsp;</span><br>
101<br>
1028) Now its time to run the osgdem example to generate your PagedLOD
103database, the more levels you generate the longer it will take
104(exponentially so), osgdem is just a front end to osgTerrain::DataSet
105where all the hard work happens. Here's what to run : <br>
106<br>
107<div style="margin-left: 40px;"><span style="font-weight: bold;">osgdem
108--xx 10 --yy 10 -t ../ps_texture.tif \</span><br
109 style="font-weight: bold;">
110<span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
111&nbsp; &nbsp;
112--xx 10 --yy 10 -d ../ps_height.tif \</span><br
113 style="font-weight: bold;">
114<span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
115&nbsp;
116-l 8 \</span><br style="font-weight: bold;">
117<span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
118&nbsp; -v 0.1 \</span><br style="font-weight: bold;">
119<span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
120-o pegout.ive</span><br>
121</div>
122<br>
123Then go away for lunch, afternoon and tea, as generating this much data
124takes a while... If you don't wish to wait for the full database then
125reduce the number of levels it generates by setting the -l option to a
126lower value such as 3.<br>
127<br>
128The command line options used above are: <br>
129<div style="margin-left: 40px;">&nbsp;<br>
130The first part the --xx and --yy is specifying the size of the pixels
131in meters, since these png/tif don't have any geospatial data of their
132own, if you have geospetialised files then you won't need this.<br>
133<br>
134The second part -t &lt;filename&gt; is the option for specificing the
135texture maps to use, you can use as many as you wish,
136osgTerrain::DataSet will moziac them into a single database. &nbsp;<br>
137<br>
138The third part -d is the option for specificying the digital elevation
139maps to use, as with the textures you can use as many as you like. <br>
140&nbsp;<br>
141The -l option specificies the maximum number of levels to generate, if
142you use a large number then the database generation will stop once the
143max resolution of you source data is matched by the outputed database.
144The database generation will decend further where there is high res
145source
146data, decend less where there is lower res data. <br>
147<br>
148The -v option specifies the scaling factor which the height is
149multiplied by.<br>
150<br>
151And finally the -o &lt;filename&gt; is the output format to generat the
152databases in. This will be the name of the topmost file in the one you
153should load. It can be a .ive or a .osg. The .ive is faster and has
154embedded files.&nbsp;<br>
155</div>
156<br>
1579) Time to play, simply load the database in your app (make sure it
158support the osgDB::DatabasePager see osgsimplepager
159example for detaiils). The standard osgviewer works just fine so
160here goes: <br>
161&nbsp;<br>
162&nbsp;&nbsp; <span style="font-weight: bold;">osgviewer output.ive </span><br>
163&nbsp;<br>
164<br>
16510) You don't actually have to wait for osgdem to complete before you
166can browse the database, since osgdem generates
167the topmost tiles first. Its not totally robust since osgviewer can end
168up
169loading tiles that are still being written by osgdem, but it doesn't
170crash
171here under Linux, so you might be lucky too. <br>
172<br>
17311) If you imagery and dem's have geospatial coords associated with
174them then the -xx, --yy and -v options will not be required making the
175it much simplier to specify - you just need to specifiy options such as
176<span style="font-weight: bold;">-t imge.tif</span> and -d terran.dt0
177without any need to set to coordinate system.<br>
178<br>
17912) osgdem can automatically handle moziacing of sets of files, these
180can be specified via a sequence of <span style="font-weight: bold;">-t
181&lt;filename&gt;</span> and <span style="font-weight: bold;">-d
182&lt;filename&gt;</span> pairs on the commandline, or via <span
183 style="font-weight: bold;">-t &lt;directoryname&gt;</span> and <span
184 style="font-weight: bold;">-d &lt;directoryname&gt;.</span><br>
185&nbsp;<br>
186<hr style="width: 100%; height: 2px;">
187<h3><a name="osgdem_options"></a>osgdem options</h3>
188There are of osgdem options to use, to list the full ranges of options
189do:<br>
190<br>
191<div style="margin-left: 40px;"><span style="font-weight: bold;">osgdem
192--help</span><br>
193</div>
194<br>
195And you should see:<br>
196<br>
197<div style="margin-left: 40px;"><br>
198<span style="font-family: monospace; font-weight: bold;">osgdem --help</span><br
199 style="font-family: monospace;">
200<span style="font-family: monospace;">Usage: osgdem [options] filename
201...</span><br style="font-family: monospace;">
202<span style="font-family: monospace;">Options:</span><br
203 style="font-family: monospace;">
204<span style="font-family: monospace;">&nbsp;
205--HEIGHT_FIELD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
206Create a height field database</span><br style="font-family: monospace;">
207<span style="font-family: monospace;">&nbsp;
208--LOD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
209Create a LOD'd database</span><br style="font-family: monospace;">
210<span style="font-family: monospace;">&nbsp;
211--POLYGONAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
212Create a height field database</span><br style="font-family: monospace;">
213<span style="font-family: monospace;">&nbsp;
214--PagedLOD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
215Create a PagedLOD'd database</span><br style="font-family: monospace;">
216<span style="font-family: monospace;">&nbsp;
217--RGB-16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
218Use 16bit RGB destination imagery</span><br
219 style="font-family: monospace;">
220<span style="font-family: monospace;">&nbsp;
221--RGB-24&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
222Use 24bit RGB destination imagery</span><br
223 style="font-family: monospace;">
224<span style="font-family: monospace;">&nbsp;
225--comment&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
226Added a comment/description string to</span><br
227 style="font-family: monospace;">
228<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
229the top most node in the dataset</span><br
230 style="font-family: monospace;">
231<span style="font-family: monospace;">&nbsp;
232--compressed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
233Use OpenGL compression on destination</span><br
234 style="font-family: monospace;">
235<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
236imagery</span><br style="font-family: monospace;">
237<span style="font-family: monospace;">&nbsp; --cs &lt;coordinates
238system string&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set the
239coordinates system of source</span><br style="font-family: monospace;">
240<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
241imagery, DEM or destination database.</span><br
242 style="font-family: monospace;">
243<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
244The string may be any of the usual</span><br
245 style="font-family: monospace;">
246<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
247GDAL/OGR forms, complete WKT, PROJ.4,</span><br
248 style="font-family: monospace;">
249<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
250EPS</span><br style="font-family: monospace;">
251<span style="font-family: monospace;">&nbsp;
252--max-anisotropy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
253Max anisotropy level to use when</span><br
254 style="font-family: monospace;">
255<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
256texturing, defaults to 1.0.</span><br style="font-family: monospace;">
257<span style="font-family: monospace;">&nbsp;
258--max-visible-distance-of-top-level&nbsp;&nbsp;&nbsp;&nbsp; Set the
259maximum visible distance that</span><br style="font-family: monospace;">
260<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
261the top most tile can be viewed at</span><br
262 style="font-family: monospace;">
263<span style="font-family: monospace;">&nbsp;
264--mip-mapping-hardware&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
265Use mip mapped textures, and generate</span><br
266 style="font-family: monospace;">
267<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
268the mipmaps in hardware when</span><br style="font-family: monospace;">
269<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
270available.</span><br style="font-family: monospace;">
271<span style="font-family: monospace;">&nbsp;
272--mip-mapping-imagery&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
273Use mip mapped textures, and generate</span><br
274 style="font-family: monospace;">
275<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
276the mipmaps in imagery.</span><br style="font-family: monospace;">
277<span style="font-family: monospace;">&nbsp;
278--no-mip-mapping&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
279Disable mip mapping of textures</span><br
280 style="font-family: monospace;">
281<span style="font-family: monospace;">&nbsp;
282--radius-to-max-visible-distance-ratio&nbsp; Set the maximum visible
283distance ratio</span><br style="font-family: monospace;">
284<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
285for all tiles apart from the top most</span><br
286 style="font-family: monospace;">
287<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
288tile. The maximum visuble distance is</span><br
289 style="font-family: monospace;">
290<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
291computed from the ratio * tile radius.</span><br
292 style="font-family: monospace;">
293<span style="font-family: monospace;">&nbsp; --skirt-ratio
294&lt;float&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
295Set the ratio of skirt height to tile</span><br
296 style="font-family: monospace;">
297<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
298size</span><br style="font-family: monospace;">
299<span style="font-family: monospace;">&nbsp;
300--tile-image-size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
301Set the tile maximum image size</span><br
302 style="font-family: monospace;">
303<span style="font-family: monospace;">&nbsp;
304--tile-terrain-size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
305Set the tile maximum terrain size</span><br
306 style="font-family: monospace;">
307<span style="font-family: monospace;">&nbsp; --wkt &lt;WKT
308string&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
309Set the coordinates system of source</span><br
310 style="font-family: monospace;">
311<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
312imagery, DEM or destination database</span><br
313 style="font-family: monospace;">
314<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
315in WellKownText form.</span><br style="font-family: monospace;">
316<span style="font-family: monospace;">&nbsp; --wkt-file &lt;WKT
317file&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
318Set the coordinates system of source</span><br
319 style="font-family: monospace;">
320<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
321imagery, DEM or destination database</span><br
322 style="font-family: monospace;">
323<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
324by as file containing WellKownText</span><br
325 style="font-family: monospace;">
326<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
327definition.</span><br style="font-family: monospace;">
328<span style="font-family: monospace;">&nbsp; -d
329&lt;filename&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
330Specify the digital elevation map</span><br
331 style="font-family: monospace;">
332<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
333input file to process</span><br style="font-family: monospace;">
334<span style="font-family: monospace;">&nbsp; -e &lt;x&gt; &lt;y&gt;
335&lt;w&gt;
336&lt;h&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
337Extents of the model to generate</span><br
338 style="font-family: monospace;">
339<span style="font-family: monospace;">&nbsp; -h or
340--help&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
341Display this information</span><br style="font-family: monospace;">
342<span style="font-family: monospace;">&nbsp; -l
343&lt;numOfLevels&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
344Specify the number of PagedLOD levels</span><br
345 style="font-family: monospace;">
346<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
347to generate</span><br style="font-family: monospace;">
348<span style="font-family: monospace;">&nbsp; -m
349&lt;filename&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
350Specify the 3D database model input</span><br
351 style="font-family: monospace;">
352<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
353file to process</span><br style="font-family: monospace;">
354<span style="font-family: monospace;">&nbsp; -o
355&lt;outputfile&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
356Specify the output master file to</span><br
357 style="font-family: monospace;">
358<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
359generate</span><br style="font-family: monospace;">
360<span style="font-family: monospace;">&nbsp; -t
361&lt;filename&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
362Specify the texture map input file to</span><br
363 style="font-family: monospace;">
364<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
365process</span><br style="font-family: monospace;">
366<span style="font-family: monospace;">&nbsp;
367-v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
368Set the vertical multiplier</span><br style="font-family: monospace;">
369<br style="font-family: monospace;">
370<br>
371</div>
372</body>
373</html>
Note: See TracBrowser for help on using the browser.