Diva i would like to see this posted on the wiki as a 3rd party tool, perhaps in the terrain area or related software section.<br><br>Nebadon<br><br><div class="gmail_quote">On Sun, Jun 8, 2008 at 7:32 PM, Diva Canto <<a href="mailto:diva@metaverseink.com">diva@metaverseink.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello devs and users,<br>
<br>
I made a utility called terraingen that takes USGS DEM files and<br>
produces r32 terrains.<br>
Here's a picture of a terrain generated with terraingen, from Ihaca, NY:<br>
<a href="http://tagide.com/misc/Snapshot_003.JPG" target="_blank">http://tagide.com/misc/Snapshot_003.JPG</a><br>
<br>
The utility and its source can be found here:<br>
<a href="http://www.ics.uci.edu/%7Elopes/terraingen/" target="_blank">http://www.ics.uci.edu/~lopes/terraingen/</a><br>
The package includes test DEM files of San Francisco.<br>
<br>
I tested it on the DEM files I need to handle right now, and it works<br>
ok, but it's likely that it will have hiccups on other DEM files out<br>
there. Very concretely, I'm not handling Arc Secs. I didn't test this<br>
exhaustively. Also, I looked only at the USGS DEM specs, and not other<br>
variations.<br>
<br>
Probably not worth including this in the core OpenSim code, since this<br>
produces a terrain file that can then be used not just for loading into<br>
a grid but also for further processing by other peripheral tools. But if<br>
anyone wants to merge this, or some of it, please go ahead.<br>
<br>
Comments, patches, etc. welcome. This is just a first draft of this<br>
utility. If anyone wants to help improve it, that'd be great!<br>
<br>
In the process of doing this, I found another useful tool for<br>
visualizing and handling topographic data, DEM and R32 files included; I<br>
thought I'd pass it along:<br>
<a href="http://www.visualizationsoftware.com/3dem.html" target="_blank">http://www.visualizationsoftware.com/3dem.html</a><br>
It's freeware but not open source, as far as I could see. There isn't an<br>
easy way of specifying size in terms of OpenSim regions. But as<br>
visualization goes, and input formats, it's pretty good. Too bad the<br>
source is not open.<br>
<br>
Crista / Diva<br>
<br>
<br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</blockquote></div><br>