Results 1 to 17 of 17
  1. #1

    Lightbulb Tutorial: Importing Detailed Terrain from Google Earth

    This tutorial will show you how to extract heightmaps from locations on Google Earth and then import them into Unreal Ed for use in a level. Here's what you'll need:

    -Google Earth (of course) - http://earth.google.com/
    -This plugin for Google Earth.
    -MicroDEM Map Tool - http://www.usna.edu/Users/oceano/pgu...odem_setup.exe
    -DGUnreal's HMCS - http://www.lilchips.com/dgunreal/tools-hmcs.asp
    -GIMP (free) or photo-editing program BESIDES MS PAINT that can save as TGA

    Once you've download everthing from above and installed MicroDEM, double click the Google Earth plugin file. Google Earth will load up with a grid over the entire earth. Search for the grid square where your terrain is located. For purposes of this tutorial, I'm going to use the Grand Canyon.
    This Image Was Automatically Resized by using the Screenshot Tag.  Click to view the full version
    The Grand Canyon is located in srtm_14_05. Click on the green mountain icon and scroll down to the list of servers. Under UK or US servers, choose "Download the DATA tile in zipped ARCASCII format" from either FTP or HTTP (note: downloads are usually very slow and the file is about 50MB, so try all 4 links to see if you get a faster connection). Once you have the file, unzip the ASC file to your desktop. Fire up MicroDEM (close the info window) and go to File>Open>Open DEM, under Files of type select ASCII Arc Grid and navigate to and select your ASC file. You should see something like this:
    This Image Was Automatically Resized by using the Screenshot Tag.  Click to view the full version
    Click the 6th button in the small window 'Subset & zoom' and select the region you would like to include in the heightmap (you may have to do this multiple times, but don't worry, there's an 'Undo subset' button right next to it). For the largest map, you want a 2x2 grid area from the initial view (the max you want to go is 10km by 10km). Now right-click on the map and select 'Grid' and set the Grid option to 'Neither' and click Ok. Next, right-click and select Legends/marginalia and uncheck the four boxes on the right, click Redraw map, then click Ok. Next, right-click, select Display parameter and click Elevation. Set Display colors to 'Gray scale' and click ok. You should now have a grayscale image with no grids and no boxes (except green arrows at the edges). We're not done yet: the map needs to be 513x513 or smaller. If it looks larger than that (more than half the height of your screen if you're running at 1280x1024), click the Zoom out button (magnifying glass with a minus in it) and click Ok. Finally, right-click the image and click Save image and save it as a BMP file. Now, HMCS doesn't seem to properly support this type of BMP file, so open it up in GIMP or another photo-editing program and re-save it as a TGA file without RLE compression. Fire up HMCS, make sure that in the Options under Scale function the 'Scale all map files' box is checked, click open, set the File type to 'tga - Targa...' and open your file. Then click File>Save as (click yes on the 'power of two' alert) and save it as File type 'bmp - Unreal G16 Heightmap' with a unique name. You now have a working Unreal 16-bit grayscale heightmap. Start Unreal Editor, create the default cube brush, move it down as far as you can without leaving the editor box, and add it. In the Actor browser, select Terrain (under Info), then right-click on the top of your cube and click 'Add Terrain here'. Then in the Terrain editor window, check the boxes 'Heightmap only' and 'Into current' and click import. Select your G16 heightmap and click ok. You should now have a terrain in the editor, but it doesn't look the way it should. First, if you see walls at the edges of your terrain, lower the NumPatches slightly in the directions it occurs. You will have to play with the DrawScale and set DrawScaleZ to about 1/4 of X and Y for your terrain to look proper (if your heightmap is 10km by 10km, increase the DrawScale by factors of 1.0 and move the terrain until it touches the edges of the limiting box on the X and Y axis). Remember to move your terrain so it is back on the grid and centered in the editor box (even if it's bigger than the grid). Your terrain will look extremely jagged due to the limited NumPatches, so select the smooth tool and set its strength to 50 and its radius to 100000 and quickly smooth over everything. At this point your terrain should be detailed, smooth and ready to use in a level. That's all I could muster for this tutorial at the moment, post any questions/comments below.
    This Image Was Automatically Resized by using the Screenshot Tag.  Click to view the full version
    Last edited by D-Hunter; 03-19-2008 at 11:46 PM.

  2. #2
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Posts
    135

    Default

    Nice tutorial
    My Maps: DM-Painkiller | DM-ForgottenDepot

    My gaming blog: Enter The Loading Zone

  3. #3
    MSgt. Shooter Person
    Join Date
    Feb 2007
    Posts
    307

    Default

    Geez. I have got to try this this weekend. Nice one!

  4. #4
    MSgt. Shooter Person
    Join Date
    May 2006
    Posts
    226

    Default

    hope we'll to see large maps based on our earth lol...

  5. #5

    Default

    Sorry it's all in boring paragraph format; until I can revise it a little, read carefully as there's a lot of important steps buried in there that are required for it to work properly.

  6. #6
    MSgt. Shooter Person
    Join Date
    Feb 2008
    Location
    Blackpool
    Posts
    99

    Default

    if you were to do this to an area larger than you would want to use for an unreal map is it possible to split the file into equal sections for streaming?

  7. #7

    Default

    Quote Originally Posted by Doublezer0 View Post
    if you were to do this to an area larger than you would want to use for an unreal map is it possible to split the file into equal sections for streaming?
    Someone else mentioned that you were still limited to the size of a level, so I think the box is the limit (defined in native coding). A TC mod could possibly scale down all objects and players with a few clipping issues, meaning almost limitless maps.

  8. #8
    Prisoner 849
    Join Date
    Jul 2007
    Posts
    983

    Default

    Trust me, making a terrain that covers the whole work area is so damn big that you can't properly fill it alone with quality. Unless you're satisfied with just a terrain, with no props, and a bunch of vehicles. It takes a hefty amount to traverse from one end to the other.
    Technical Artist / Animator - InAction @ Forums.BeyondUnreal

    Demoreel: Website
    TUTORIAL: Character - Maya to UDK Livestream
    CHARACTER: UDK Character / First Person Animation Rig
    SCRIPTS: Axtended Animation Manager (FBX Animation Batch Exporter) | T3D Exporter

  9. #9

    Default

    Quote Originally Posted by Denny View Post
    Trust me, making a terrain that covers the whole work area is so damn big that you can't properly fill it alone with quality. Unless you're satisfied with just a terrain, with no props, and a bunch of vehicles. It takes a hefty amount to traverse from one end to the other.
    Have you seen the Mt. Everest map being worked on?

  10. #10
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Location
    Witbank
    Posts
    298
    Gamer IDs

    Gamertag: TheRalfZer0

    Default

    Hey man, thanks once more, I have table mountain!!! Woot!!!

    http://www.tablemountain.net/
    MOD REQUEST: The Land Shark Gun

  11. #11
    MSgt. Shooter Person
    Join Date
    Feb 2007
    Posts
    307

    Default

    I am using MicroDem 10.0 build 2008.1.23.1, I downloaded two strm files I was interested in and when I load either one I get an access violation error. Any thoughts?

    Solution:
    There is a bug in this version of MicroDEM. If you go to their ftp site, one can download a later, abeit debug, version of the .exe.
    Last edited by nomadicus; 03-26-2008 at 05:01 PM.

  12. #12
    MSgt. Shooter Person
    Join Date
    Jul 2006
    Posts
    320

    Default

    Quote Originally Posted by D-Hunter View Post
    Have you seen the Mt. Everest map being worked on?
    Ya, I've seen MountEverest Map announcement! Nice tutorial and interesting idea
    ____Cosmix________________________________________

  13. #13
    MSgt. Shooter Person
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    313

    Default

    I knew I had the right idea when I downloaded Google Earth to get some terrain maps.

    Nice tut.

  14. #14

    Default

    Quote Originally Posted by nomadicus View Post
    I am using MicroDem 10.0 build 2008.1.23.1, I downloaded two strm files I was interested in and when I load either one I get an access violation error. Any thoughts?

    Solution:
    There is a bug in this version of MicroDEM. If you go to their ftp site, one can download a later, abeit debug, version of the .exe.
    What type of file are you trying to load? You should be loading an ASC file.

  15. #15
    MSgt. Shooter Person
    Join Date
    Feb 2007
    Posts
    307

    Default

    To avoid back to back posts, I found the solution and posted it in my original post. Just know that version build 2008.1.23.1 has a documented bug in it and can't read the .ASC files. Downloading MircoDEM.exe from the FTP site fixes it (was built earlier this month).

    And a big thank you for this tutorial. Very nice.

    I would suggest adding one thing: If you want to smooth the entire terrain before doing the import, download G16ed.exe and use the smooth function. http://homepage.ntlworld.com/martingbell/ut2003/
    Last edited by nomadicus; 03-28-2008 at 07:25 AM.

  16. #16
    Banned
    Join Date
    Jan 2010
    Posts
    9

    Default

    Hi guys! Anyone of you still active?^^

    Big props for that idea. If that really works, that'd be just what I need.
    I'm planning to make simplyfied real world cities for my own UDK project.

    Unfortunately, the tool MicroDEM seems to be totally buggy.
    If anyone made it work and is still here, please give me a sign...

    regards

  17. #17

    Default

    Good tutorial but every time i open it instead of giving me the srtm coordinates it gives me lattitude and longitudde how do i change that i downloaded everything but it wont work plzzzzzz respond soon im running out of time to make this.
    Last edited by Captain Nicirus; 06-12-2012 at 07:41 PM.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.