Jump to content

Ardiden

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Ardiden

  • Rank
    Newbie
  1. Hello everybody, I'm trying to create an island using various data like Digital Elevation Model, remote sensing imagery (satellite or aerial) and topographic maps. I already obtain interesting results but fail to find a satisfying way to import data other than DEM, for example the position of forest. I'll begin by explaining my way through, then the problems encountered. First, some few presentation words, as this is my first post on this forum : when I discovered OFP two years ago, I was struck by the realistic appearance of the landscape. The forests, especially, were the more natural looking I'd ever seen in a video game. I began to dream of creating an island of a part of my homeland. At that time, it was just a dream, but since then I passed a degree in GIS (Geographic Information System) which gives me some knowledge that can be useful for that. I have very little knowledge of military things, so if some weapon hasn't the proper shape or rate of fire, I probably won't notice it, but I had studied ecology and spend a lot of time in the outdoors, and a non-natural looking landscape would catch my eyes immediately. For example a fir placed on a sandy ground looks odd for me, like a PC would be in a WWII environment. There are some islands, like Freya island, which looks fine from the ground, and unnatural from a remote point of view, thought the designers have obviously spend lot of time creating them. Designing a natural looking landscape from scratch is a non trivial task. I think it is far better to use real world data. Not only the elevation, but also roads, buildings or fields could be placed from there real world position, quickly providing a basis for manual editing. GIS are softwares designed for proceeding these data. They could be useful to manage the object to place on a map in a more efficient way than the island editors. This one would only be used for the final detail tasks. This, at least, is the way I see it. Recently Aster 30m resolution DEM's became freely available (only SRTM DEM's above 90m were previously available for free outside the USA), this decide me to start the creation of an island. I would have preferred to make it for Arma 2, but I'll have to wait some time since I'll have a PC which could handle such a game. However, some Arma's island creators may find some use in my work. So this is a DEM of a small mountain area in the south of France, with the extension of 1024x1024 and 512x512 cells islands. First I wrote a little script which extract a square area centered on some given coordinates and write it in the DEM format readable by WRPtool. The terrain in-game doesn't look bad :-) : However, the terrain is too smoothed. This is particularly obvious in some valleys, which look like U-shaped glacier valleys while actually being torrential V-shaped valleys. The Wilbur's erosion filter could be useful to improve this. I use a basin fill slope of -1, an erosion blur of 1 and apply an amount of only 0.4. This give acceptable results, thought I may consider writing my own function for carving the river's bed. Next step is placing the forests. They are easy to extract from satellite or aerial images as well as topographic maps. The difficulty comes when we have to import the forest layer created in a GIS into WRPtool. The only data type WRPtool can feed (except from wrp cell) is a kind of xyz files, that is, plain text files, composed of three columns, the last one displaying the elevation. No feature seems to exist for loading external data that could indicate the position of forests, roads or other objects (I haven't try Visitor 2 but had read its manual and it seems to be limited in the same way). My first idea was to load a map giving the forest position as if it was an elevation map. So I obtained a WRPtool map were the highest ground corresponds to areas were I want to place some forest. It's now possible to use the minimum height parameter of the region tool in order to place some forest only on those cells. After that, the real DEM file can be loaded. But this method don't work properly. Why ? Cause the elevation point correspond to the lower left corner of the cell, while the elevation used by the height parameters are the one of the center of the cell. For example, in the picture below, the cell where I wanted to place the forest is the one whose lower left corner is in yellow, but it's not the one who finally get the forest objects. So I'm stuck at this point. I'm looking for a way to display objects in a map from coordinates (listed in a text file for example) and asking the community's help for that. I can't be the only one who's try to deal with that problem, can I ? Thanks for reading that too long french-speakers complicated English post ;-). If someone is interested by more details on how I use the DEM or the other data, I would be pleased to provide it.
×