

- #CITYENGINE TIF TERRAIN IMPORT HOW TO#
- #CITYENGINE TIF TERRAIN IMPORT SIMULATOR#
- #CITYENGINE TIF TERRAIN IMPORT FREE#
Only for visualization I convert them to Ogre coordinates. In my maritime applications I do the calculations in the North-East-Down coordinate system. Adopting equations to the Ogre coordinate system could be difficult. If you do all calculations in Ogre coordinates you can't use common flight equations. Then you can apply related flight calculations.
#CITYENGINE TIF TERRAIN IMPORT SIMULATOR#
Dependent to your used coordinate system you could need to add a height offset or do more advanced coordinate calculations.įor a flight simulator it could be useful to use a coordinate system, which is common for airplanes. In the Terrain Scene Manager, black is related to Y=0 in Ogre coordinates. (If you use "proprietare" units like miles, you can do it, too.)įor importing the height map you also need to define the height values of black and white. In my application I use 1 Ogre unit for 1 meter. This is important for converting to Ogre. You also need to know, to which real dimension you want to map the texture and terrain data. To already have the data is a good starting point.
#CITYENGINE TIF TERRAIN IMPORT FREE#
If you (or anybody else) has experience with import of geo information, feel free to give us a report. If I read right, now it was added to the "official" repository. Maybe it's also possible to modify the parser to import data from other sources, e.g. Others had just low resolutions.įor the Ogre Procedural Geometry Library now exists a parser script for [url=http:/ So partial/selected content can be re-created in Ogre applications. I had no exact latitude/longitude coordinates.Īlso I remember that some websites/databases had no data of Europe. Then it was difficult to adjust the texture to the heightmap terrain. (I think it's not allowed to use it in other applications. (sorry, I don't remember details, but it was a stony way)įor testing purposed I grabbed a texture from Google maps. To convert it to an Ogre related height map I had to do calculations manually. This new format was a text file with many numbers. Two years ago I got height data of the wanted area (I suppose by a payed geo service) and I converted this to an other format by a command-line tool, perhaps gdal. I found them on different places and thought, it's good for others to publish them here. Maybe somehow it's possible to use Web Map Services?
#CITYENGINE TIF TERRAIN IMPORT HOW TO#
Maybe somewhere there is a possebility to enter lat/long/zoom data and get back the related data.ĭoes anybody has an idea or experiences where to get the wanted data and how to create height maps?Īlso it could help if somebody knows a special interest group forum where I can ask. I found many links about geo data and there are also free map archives on websites.īut I don't know how to use this data format. So it gets this informations by internet connection. Google has height information, because the application Google Earth can show terrain. Good for a human eye, but not usable for height maps. The google API offers the maptype terrain, but this only pseudo height information (physical relief map, e.g. On Google maps I can get textures, but I couldn't find height maps or similar geo data with which I could create it. I would like to add terrain with properties of the real world.įor example my city with its mountains around.
