Planetside Software Forums

General => Terragen Discussion => Topic started by: DanielHruby on March 31, 2009, 01:28:42 PM

Title: Creating a real site model
Post by: DanielHruby on March 31, 2009, 01:28:42 PM
I am an architect interested in creating a site model of Lake Tahoe.  The property in question is modeled in ArchiCAD as a mesh.  I can export this mesh to Modo as a .3ds or .obj file and create a better quad mesh by draping a flat mesh over the rather chunky triangulated archicad site mesh and then smoothing it out with Modo tools.  From this, I can render a top view of the site as a Depth Channel, which I am hoping could be used as a height field generator.

The second part of the exercise would be to export the entire lake area from Google earth into Sketchup and follow the same process to create a less accurate model to merge with the accurate site model.  The end result would be my starting point for generating a mesh in Terragen2. 

As I have only recently bought the software, I want to ask if this seems like a process that could work in Terragen or if there is a better way to get a model to render that looks like a reasonable lake with an accurate building site.

Thank you.
Title: Re: Creating a real site model
Post by: rcallicotte on March 31, 2009, 02:07:23 PM
I have never tried this, so I won't be a lot of technical help.  But, since files like DEMs and similar file formats are supported in TG2, you should be able to find someone who has a heightfield map somewhere online in the exact spot you need (Lake Tahoe, right?) with high-quality settings.  Once you imported this into TG2, you could then export this mesh as an LWO format to be used in your other 3D application. 

I realize this process as described contains some holes, where I haven't explained much.  It's possible this isn't the information you wanted.
Title: Re: Creating a real site model
Post by: DanielHruby on March 31, 2009, 02:31:13 PM
No, this is good info.  I have no idea where to look for height field maps that are reasonably accurate.  Can anyone point me in the right direction for such a map of Lake Tahoe?  I will start searching myself now.

Thank you.
Title: Re: Creating a real site model
Post by: Tangled-Universe on March 31, 2009, 02:40:24 PM
You might try to find maps here:

http://seamless.usgs.gov/index.php (http://seamless.usgs.gov/index.php)

It's probably not that well detailed, but you can always add detail in TG2 easily and then export the more detailed mesh to LWO and then import it into your 3D-package of choice, like Calico said.

I have no experience in this type of work at all, but my approach would be something like this:

1) create scene of lake tahoe with desired elements and point of view (POV). Render this image in your desired resolution.
2) export the terrain as a mesh with the LWO-exporter (like Calico said)
3) export camera-settings from TG2
4) import terrain mesh and camera and match with scene created in TG2
5) place archiCAD-mesh into scene and render the mesh + shadows etc. in separate passes
6) merge and adjust elements in photoshop

This is in a nutshell what I would do and I probably missed some (important) things but to my idea this should be basically it.
I can be of good help regarding point 1, but from there my expertise stops :)

Martin
Title: Re: Creating a real site model
Post by: RArcher on March 31, 2009, 03:10:29 PM
See if this works for you.  It is a .ter file of the Lake Tahoe area at 1/3 arc second (10m) resolution.  I downloaded the data from the previously given link seamless.usgs.gov, then merged and exported it into a .ter file using globalmapper.  Theoretically, when the final version is released you will be able to directly load 16bit geotiff's but not quite yet.

http://www.archer-designs.com/temp/lake-tahoe/lake-tahoe-2049.zip (http://www.archer-designs.com/temp/lake-tahoe/lake-tahoe-2049.zip)
Title: Re: Creating a real site model
Post by: DanielHruby on April 08, 2009, 02:07:16 PM
Thank you RArcher!  I appreciate the effort you put into providing thi to me.  I will check it out and see if I can do anything with it. 
Title: Re: Creating a real site model
Post by: JimB on April 08, 2009, 03:48:19 PM
I've done a similar thing a number of times, and it's a sound approach overall. I always found adding a teeny weeny bit of erosion using World Machine makes the terrain look a whole lot better, and makes up for loss of detail usually inherrent in the original DEM/heightfield. One thing you should watch out for is the height map derived from the mesh will possibly have the mesh's triangles visible in the resulting height map. Some smoothing or Subdivision may be required.

Useful apps:
http://www.world-machine.com/
http://koti.mbnet.fi/pkl/tg/TerraConv.htm
http://www.visualizationsoftware.com/3dem.html
http://www.planetside.co.uk/terragen/resources.shtml
Title: Re: Creating a real site model
Post by: gregsandor on April 18, 2009, 02:22:32 AM
One suggestion I'll add here is that when you select the area at the USGS seamless server, in the Modify Data Request page tick the box for the .tiff orthoimagery.  In addition to your .dem you'll also have a georeferenced image that exactly matches your terain.  The DRG (topo map) is also useful for locating stuff on the terrain.
Title: Re: Creating a real site model
Post by: DanielHruby on July 14, 2009, 03:20:25 PM
Quote from: RArcher on March 31, 2009, 03:10:29 PM
See if this works for you.  It is a .ter file of the Lake Tahoe area at 1/3 arc second (10m) resolution.  I downloaded the data from the previously given link seamless.usgs.gov, then merged and exported it into a .ter file using globalmapper.  Theoretically, when the final version is released you will be able to directly load 16bit geotiff's but not quite yet.

http://www.archer-designs.com/temp/lake-tahoe/lake-tahoe-2049.zip (http://www.archer-designs.com/temp/lake-tahoe/lake-tahoe-2049.zip)

After some time, i am revisiting the import of real GeoData into TG2.  This time, i need to try a piece of Hawaii.  I tried to use the USGS seamless server.  I was not sure what settings to use to download.  So I used these settings.  I am not sure what the proper settings need to be here in order to get a .DEM:

(http://files.me.com/danielhruby/d5ezb3)



This is what I got downloaded to me.  But I dont know what to use here with TG2.  I dont see a .DEM


(http://files.me.com/danielhruby/oml74a)




Can anyone help me get a grasp on how to get as accurate a model as possible into TG2 via this approach? RArcher graciously went as far as to provide me the Tahoe model, but I didn't learn the process for getting the right data and doing the import.

There is also mention of using the server for.tiff maps.  I can't seem to figure out a way to get this to show or download either.

Thank you in advance.
Title: Re: Creating a real site model
Post by: Matt on July 14, 2009, 09:46:58 PM
[attachthumb=1]
[attachthumb=2]
[attachthumb=3]
[attachthumb=4]
Title: Re: Creating a real site model
Post by: Matt on July 14, 2009, 10:30:24 PM
[attachthumb=1]
[attachthumb=2]
[attachthumb=3]
[attachthumb=4]


Title: Re: Creating a real site model
Post by: mhall on July 14, 2009, 11:58:39 PM
Wow - what a succinct tutorial.

Someone needs to put that in the wiki. :)

Thanks Matt!
Title: Re: Creating a real site model
Post by: DanielHruby on July 15, 2009, 05:23:51 PM
Thank you!  I will give it a try again.  I assume the type of map downloaded is the best resolution?

EDIT:

I managed to get the file downloaded.  But upon inspection of the 48 MB .TIFF in Photoshop it appears that the land area is almost entirely white (or flat) with no apparent height gradaition except right at the shoreline there can be some grays.  There should be a gradual  up slope up from the beach.  Any ideas?  Could there be a range to define for the height field?


(http://files.me.com/danielhruby/zx0tqh)

Title: Re: Creating a real site model
Post by: Matt on July 16, 2009, 12:24:42 AM
The values in the geotiff are in metres. They won't look correct when viewed in Photoshop, because Photoshop will probably interpret an elevation of 1 metre as being full white, and probably also anything greater than 1 metre. Just load it in Terragen and you should see correct elevations.

BTW, for my tutorial above I downloaded a Geotiff from exactly the same location as your screenshot, and the volcanic cone in your screenshot was clearly visible in Terragen once I moved the camera close to it.

Matt
Title: Re: Creating a real site model
Post by: DanielHruby on July 16, 2009, 02:40:21 PM
Thanks again Matt.  I have had a model rendering all day so I could not load it yet.  That is why I thought I might see a grayscale version of the terrain.  I will try to complete your steps before crying for help again.   ;D