Please or Register to create posts and topics.

Easiest way to place real world objects in TerraWorld

After the terrain in created, what is the easiest way to place real world objects in TerraWorld?  I would like to place some buildings and roads.

Some ideas I had...

1.  Creating a plane object with an image of the terrain to match things up.  I think getting the image to line up overtop of the terrain properly might be troublesome.
2.  Is this possible?  Use real world coordinates to somehow map to the unity coordinates.
3.  Eyeball it, I'm hoping to avoid this one, the road is a dirt road and windy, it would be difficult.

Any suggestions or other ideas?

Thanks!

 

 

Hi, thanks for the good question!

Since TerraWorld creates geo-referenced scenes, it means you can do any geo-referencing operations to place real-world objects on top of created terrains. You have the Top, Left, Bottom & Right coordinates of created area in Interactive Map which then can be used to convert objects' coords to world space positions in scenes.

TerraLand 3 has geo-referencing scripts (LatLon2UnityMercator.cs) in "LatLon2UnityWorldSpace" demo scene to place specific items based on their lat long since both TerraWorld and TerraLand provide the scene Top, Left, Bottom & Right coordinates as the world boundaries. You can use this script on any TerraWorld and TerraLand created scenes.

Placing any objects based on its geo-reference information in TerraLand 3: https://youtu.be/hFiYSkGso70

If you don't own TL3, then I shared the core parts of script here on Discord: https://discord.com/channels/450550727924908044/450550728532951041/990491302678372373

You can also create a simple terrain with only a satellite image as texture on it for referencing other elements such as roads to paint or do any other type of placement scenarios instead of a plane with sat image you mentioned. Here are the nodes you need to have in your graph for this: https://discord.com/channels/450550727924908044/1103349547436081262/1110118998865088563

And here is the picture here as follows

blank