Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Real World City in Unity

Discussion in 'Formats & External Tools' started by Irenemeyer, May 15, 2019.

  1. Irenemeyer

    Irenemeyer

    Joined:
    Aug 3, 2018
    Posts:
    3
    Hi,

    I would like to be able to import a piece of an existing City in Unity in 3D.
    I tried Mapbox, it would be perfect but it works only with a link. This means that I can see my model only if I'm in play mode. This is a bit annoying because I have to add all kind of asets.

    I wil try to explain what is that for. I'm not a game builder in the classic meaning, I'm building a kind of "serious game" about urban asset management with the goal to gather data about decision making and other management techniques. Therefore it would be perfect to be able to build it in real world cities or pieces of them.

    Is there an asset or something else to be able to do this?

    I'm quite new to the Unity world, so I would be grateful if somebody could point me in the right direction.
     
    gamegem85 likes this.
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,574
    Can you explain, what is wrong with SimCity series, CitySkyline type of city management?

    What you mean by real world?
     
  3. Irenemeyer

    Irenemeyer

    Joined:
    Aug 3, 2018
    Posts:
    3
    Hi,
    Thanks for the reply.

    There is nothing wrong with those games, actually they are pretty amazing. Serious gams are something different, those games are not build for entertainment but for educational or research pourposes. If you want to read the whole definition is here:https://en.wikipedia.org/wiki/Serious_game.

    By real world I mean places like Paris, London etc., real existing cities.
     
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,574
    I know, there are some assets, which are recently created, to use google or similar maps. You would need to search for these topics.

    Not sure however, how well they will suit your need.
     
  5. BlankDeedxxAldenHilcrest

    BlankDeedxxAldenHilcrest

    Joined:
    Jul 10, 2018
    Posts:
    292
    If you want real cities, I'm almost certain that you're gonna have to put all your assets in manually over a plugin that will bring in the map data (or do it yourself). If you want the full automation then it will probably be a random city layout generated. There are assets that make the broken down tasks easier, like spline tools (not a product name), water stuff, pre-built city assets, etc.. Good luck, more people should make serious games.
     
    gamegem85 likes this.
  6. Irenemeyer

    Irenemeyer

    Joined:
    Aug 3, 2018
    Posts:
    3
    Thank you all fo the reply.

    Ok, nothing is easy but I found a couple of pretty good assets that can ease the work. Real World Terrain can make terrains out of maps and works pretty well with EasyRoad3D to automatically add streets and BuildR for the buildings.
    The downside is that is a bit expensive, but it saves a lot of work.

    For the sake off science ;)
     
  7. vviking

    vviking

    Joined:
    Mar 9, 2016
    Posts:
    3
    Greetings!
    I'm recreating the arctic island community of Vardø using LIDAR aerial laser scan data (cost free now in Norway), processed in Lastools, and converted to .RAW heightmaps in Gdal. The resulting terrain in Unity3d is georeferenced in all 3 axes with sub-meter accuracy. It works OK now, after some trial and error, though the processing and cleaning pipe is a somewhat contorted command line batchscript. You will find good pointers regarding the nitty gritty details at the Lastools user forum over at rapidlasso.com. Good luck! I am also thinking along the lines of a serious game ;)
     
    gamegem85 likes this.
  8. cleroythomas

    cleroythomas

    Joined:
    Apr 30, 2020
    Posts:
    1
    Hi did you guys figure this out.I wanted to recommend the Blender-GIS extension for creating the terrain as well as the Mapbox SDK for Unity. I am also looking to do something to a Serious Game using Unity using those and OSM GIS data, would love to discuss it more and trade notes if anyone is interested. Thx. Chuck
     
  9. OrlovskyConsultingGbR

    OrlovskyConsultingGbR

    Joined:
    Mar 17, 2020
    Posts:
    61
    CityEngine what you look for.
     
    gamegem85 likes this.
  10. Quatum1000

    Quatum1000

    Joined:
    Oct 5, 2014
    Posts:
    888
    You can not build a real city in untiy in an easy way.

    Unity provide an area of maximum 4096m*4096m without massive visual floating point issues. The 32 bit floating point transform, also 32 bit shader, and pipeline data flow mesh vertex structures are unbreakable issues.

    There are some hacks to move parts of the city into the cam area. But this cause a performance jerks and hickups.

    If performance is not an issue, then Dots, texture, mesh, scene,.addressables steaming, are good lessions to start with.
     
  11. OrlovskyConsultingGbR

    OrlovskyConsultingGbR

    Joined:
    Mar 17, 2020
    Posts:
    61
    Quatum1000 i would definetly recommend CityEngine, yeah its commercial software but they give 30 days trial. Here i even written "short" review and my experience with this engine.
     
    Last edited: Aug 2, 2020
  12. WizzleOfOZ

    WizzleOfOZ

    Joined:
    Nov 16, 2018
    Posts:
    30
    Try CityGen3d on the asset store it's come a long way