Custom Models in UNREAL 5 and GOOGLE MAPS using Cesium ( Revit, Rhino, Sketchup)

Поділитися
Вставка
  • Опубліковано 12 тра 2024
  • I am going to show you how to bring your architectural models into a 3D google earth map within Unreal Engine 5. You will be able to take any model from revit, rhino or sketchup and insert it anywhere in the world within a google earth tileset. The advantages of this as you can see is that you have satelilate accurate massing at your disposal and can very quickly drop in your design within this context and have the full power of urneal engine behind this.
    In addition you can create animations, assets, materials, data overalys and even first person chatacters to walk around if you wish.
    This is all now possible through the plugin Cesium within unreal. Cesium is a Platform for 3D Geospatial which lets you work with geosptail data including 3d tile datasets for both web and gaming engines. This now includes The google earth dataset which was released quite recently.
    00:00 Intro
    00:42 Cesium
    02:22 Unreal basic setup
    03:50 Google Maps API
    05:36 Set world location
    07:24 Locating your site
    08:09 Polygon clip
    10:41 Datasmith for importing from rhino/revit/sketchup
    11:12 Revit model example
    12:28 Importing your models
    13:45 Lighting setup
    14:38 Basic asset adding
    18:00 visual effects
    19:40 High-res screenshot
    20:24 Outro
    Instagram account: / urbandecoders
    Cesium tutorials: cesium.com/learn/unreal/unrea...
    Some great unreal tutorials: www.youtube.com/@WilliamFauch...
    #cesium #unrealengine5 #googleearth #revit #rhino #sketchup #visualisation #digitaltwin #data #streaming #googlemaps
  • Наука та технологія

КОМЕНТАРІ • 67

  • @Monthag
    @Monthag 10 місяців тому +11

    Sr. You deserves a medal. By far THE best Cesium/Unreal/Google Tiles tutorial. You just earned a new subscriber. Looking forward to more tuts!

  • @zeroestudioarquitectura7672
    @zeroestudioarquitectura7672 10 місяців тому +2

    Great tips, thanks. Subscribed

  • @ShashankDule
    @ShashankDule 5 місяців тому +1

    thanks for explaining and reducing lots of Envirment Details placement work

  • @metafuel
    @metafuel 11 місяців тому +2

    Excellently explained. Thanks. Subscribed.

  • @ahmedelattar8259
    @ahmedelattar8259 10 місяців тому +2

    Thank you very much, please more videos on Cesium

    • @Urban_Decoders
      @Urban_Decoders  10 місяців тому +1

      Your welcome! Sure, i'll be looking more into cesium for unreal and cesium JS over the summer so will be adding more soon.

  • @abeerando
    @abeerando 9 місяців тому +1

    I know this guy! Good work

  • @isomtrix
    @isomtrix 10 місяців тому +1

    subscribed ❤

  • @user-bw2dh8cf5u
    @user-bw2dh8cf5u 9 місяців тому +1

    Subscribed. 😍Thank you. We need the animation of this please

    • @Urban_Decoders
      @Urban_Decoders  8 місяців тому

      The animation of the google tiles is on the to-do list!

  • @maxxmangione3900
    @maxxmangione3900 9 місяців тому +3

    Really nice tutorial , thank you ! . As for the content , if i understand it correctly by reading the legal facts of google , we cant use any material generated from google maps in any comercial way . Does cesium avoid this inconvenience by being a paid service associated to google or we have the same limitations ? thank you

    • @Urban_Decoders
      @Urban_Decoders  9 місяців тому +1

      Realistic google tiles are in experimental phase and so are free to use albeit there is a data cap. There is a good blog here which addresses the question of costs: cloud.google.com/blog/products/maps-platform/commonly-asked-questions-about-our-recently-launched-photorealistic-3d-tiles/

  • @MarcGKiwi
    @MarcGKiwi 5 місяців тому +1

    This is great content!! If the revit models are already georeferenced is there a workflow for automatically placing it in the correct location?

    • @Urban_Decoders
      @Urban_Decoders  5 місяців тому

      Thanks! That's an interesting point. If you import your revit scenes via datasmith as shown here you need to position manually but then if you reimport the model, it will go to the new position. Otherwise it is possible to create custom imports using datasmith and blueprints. You can also import certain metadata from your models into unreal, so something might be possible there to automatically position on import. I will have to take a deeper look at some point!

  • @philhighfield4741
    @philhighfield4741 2 місяці тому

    thanks for sharing your knowledge! Is there any way to 'flatten' the terrain in a particular area to make space for our new plot?

    • @Urban_Decoders
      @Urban_Decoders  2 місяці тому

      Not flatten as such, but you can cut out the plot from the google tiles and generate you own mesh for the land. You can use the cesium cartographic polygon to clip within the region rather than outside. Just check the "include tiles inside" option in CesiumPolygonRasterOverlay. cesium.com/learn/unreal/unreal-clipping/
      If you want to have multiple polygons clipping side and outside the polygon you need to edit the material on the CesiumPolygonRasterOverlay and add an extra material. I will be doing a video on this along with an update on the tile streaming soon.

    • @philhighfield4741
      @philhighfield4741 2 місяці тому

      @@Urban_Decoders Thanks my man !

  • @cathychoi6959
    @cathychoi6959 4 місяці тому +1

    Thanks so much for you very detailed content! wondering can I export the clipped map + my Arch model out as fbx or any other 3D format ? I notice when I closed the project open again, I need to to reset the map? thanks advanced !

    • @Urban_Decoders
      @Urban_Decoders  3 місяці тому +1

      Since the google tiles are streamed into unreal, there is no fixed map geometry. This is the reason why files are very light weight using this method. At the moment you stil need an internet connection to stream the google tiles in live whenever you create a scene.
      There might be a method in the future for caching the streamed tiles to prevent them having to be reloaded each time, but that is something that we just need to keep an eye out on the Cesium site to see if there are any updates.

  • @djohnworthy1040
    @djohnworthy1040 2 місяці тому +1

    Are you a Legend or What! KING. Hey, man, one more thing I would like to see is to add reflections. For example, I got the ` the gherkin` location from the UK. It looks eh tbh. How can I make it more realistic? I love your content.

    • @Urban_Decoders
      @Urban_Decoders  2 місяці тому +1

      Thanks for the feedback! In relation to improving the quality of the tiles you can select the photorealistic 3D Tiles and under details change the "Maximum screen space error" to something like 2 to increase the mesh quality. You can also check the "ignore KHR_materials_unlit" option which will make the mesh dynamic cast shadows and maybe more realistic.
      However if you want high quality close-ups, the google tiles are not very good so i would recommend to use the cartographic polygon to remove certain buildings such as the gherkin and replace with your own models or other photogrammetry. I will be adding soon another video on how to clip multiple sites from the tiles to add your own models.

    • @djohnworthy1040
      @djohnworthy1040 2 місяці тому

      Are you a living legend? Now I understand clearly how people make an ultra-realistic scene for their websites and such... Can we achieve reflection on an imported model? You are one the most clear instructors I've ever seen.@@Urban_Decoders

  • @integvis
    @integvis 6 місяців тому +1

    Such a great tutorial, thanks ever so much. Is high-res screenshot the only way to create a reasonable still? Been tinkering with Rendering through the Movie Render Queue, but with NO success at all. Am I missing some point? Is Google-Data through Cesium non-renderable?

    • @mg281ur
      @mg281ur 6 місяців тому +1

      the movie render queue works with google tiles and renders fine, i did a video here on it if you would like to check it out: ua-cam.com/video/CGANE33socE/v-deo.htmlfeature=shared

  • @PhotoMakers
    @PhotoMakers 11 місяців тому +2

    Is it possible to remove a 3d building with this? I'm trying here, but cannot get rid of the 3d in the tileset.

    • @Urban_Decoders
      @Urban_Decoders  11 місяців тому +2

      Don't believe you can actually delete polygons from the streamed google tiles unfortunately so one of the solutions it to use multiple cartographic polygons to clip out 3D buildings. However to create mutiple clippings you need to edit the "MI_CesiumThreeOverlaysAndClipping" material. I didn't make a video on this part as it would make the video too long but you can find the solution on the cesium forum here: community.cesium.com/t/cartographic-polygons/24069

    • @SunDownSound
      @SunDownSound 8 місяців тому

      weird im having the exact opposite problem where mine doesnt show 3d buildings i can click it on but theres no image textures on the buildings its just white

    • @buster5661
      @buster5661 7 місяців тому

      @@SunDownSound what's going on with yours is that Google hasn't 3d generated your area. There's white buildings because you clicked the option for cesium to generate a blockout of your area.

    • @SunDownSound
      @SunDownSound 7 місяців тому

      @@buster5661 dude you’re a god thank you so much

    • @buster5661
      @buster5661 7 місяців тому

      @@SunDownSound Sorry I couldnt help you further. I know how difficult it is working on a project with limited resources

  • @dimaferox5133
    @dimaferox5133 7 місяців тому +1

    Great and very helpful tutorial mate, the documentation is poor and you like a magic arm 😊

  • @biswajittripathy2786
    @biswajittripathy2786 6 місяців тому +1

    I followed your video step by step, now after adding latitude and longitude my map getting squized means there shows no height for houses and road. Everything in the map looks like a picture, please help ..

  • @yuvallivnat-schwartz7630
    @yuvallivnat-schwartz7630 6 місяців тому

    hey man cool vid, just wanted to let you know that the api key is visible in the console so i would deactivate that key

    • @Urban_Decoders
      @Urban_Decoders  6 місяців тому

      Thanks for the heads up, that key is no longer active :)

  • @gtasadino
    @gtasadino 3 місяці тому +1

    the google maps models dont seem to cast shadows how can we fix this? thank you for the tutorials btw!

    • @Urban_Decoders
      @Urban_Decoders  3 місяці тому

      By default the tiles have the shadows baked into the textures. If you want dynamic shadows on it, select the google photorealisitc 3D tiles and under Details panel, check "ignore KHR_materials_unlit"

  • @23dsin
    @23dsin 6 місяців тому

    Can you save the mesh and modify it without extra map loads? Download once and play with the map/mesh?

    • @mg281ur
      @mg281ur 6 місяців тому +1

      since they are streamed tiles unfortunately you can't bake them out or make meshes out of them

  • @GrekkoGaming
    @GrekkoGaming 5 місяців тому

    When I try to package to PC, many errors ! Is it possible to export to PC target or Cesium works only in Unreal editor to get cinematic ? thanks...

    • @Urban_Decoders
      @Urban_Decoders  4 місяці тому

      Since google maps are streamed into Unreal Engine, you will always need an internet connection. The cesium forum is also very good for help in technical errors: community.cesium.com/

  • @Ramronv
    @Ramronv 2 місяці тому

    When I move around the scene, I see several tiles that disappear and appear alternately, as if the level does not load to 100%. Do you know how I can improve this?

    • @Urban_Decoders
      @Urban_Decoders  2 місяці тому

      There are a few settings that can be adjusted within the Google Tiles details panel to control the tile loading. First you could try increasing the "maximum simultaneous tile loads". This will allow more tiles to load at once. Increasing the "Maximum Screen Space Error" to something like 20, will decrease quality but increase performance. Another useful setting is to disable Frustum Culling so that out-of-view tiles will still try to load at the desired level of detail.

  • @buster5661
    @buster5661 7 місяців тому +1

    You figure out how to export tilesets for offline??

    • @Urban_Decoders
      @Urban_Decoders  4 місяці тому

      Since the tiles are streamed in you will always need an internet connection, even if you export the unreal scene to desktop app. There might be a way to cache the streamed google tiles in the future but at the moment it is not supported unfortunately: community.cesium.com/t/google-map-api-tiles-caching-or-download-not-every-time/26719

    • @buster5661
      @buster5661 4 місяці тому

      @@Urban_Decoders there is always a workaround, we just have to find it

  • @captainofthewhitetower
    @captainofthewhitetower 2 місяці тому

    When I add the fog left side is all white like infested with FOG and other parts are normal. Why is that>?

    • @Urban_Decoders
      @Urban_Decoders  2 місяці тому

      under the exponential height fog details panel you will want to balance the fog density and fog height falloff parameters. The position of that fog actor also affects the strength of the fog and how far it goes. You might also have the fog cutoff distance quite low so removes any fog outside a certain radius.

  • @armontesimpson6216
    @armontesimpson6216 9 місяців тому +1

    Could I build a game with this?

    • @Urban_Decoders
      @Urban_Decoders  8 місяців тому +1

      You can easily add a first person actor to this scene and play around with it. You could make a game with this although streaming the tiles has limitations in terms of editing or optimizing the google maps as done with static meshes.

    • @buster5661
      @buster5661 7 місяців тому +1

      I'd recommend you don't make a game by steaming Google tiles as these are credit based and you will eventually run out of credits and need to buy more. Unless you found a way to export these tiles offline

    • @biswajittripathy2786
      @biswajittripathy2786 6 місяців тому

      can we export this tiles to .FBX format ..?@@buster5661

  • @captainofthewhitetower
    @captainofthewhitetower 2 місяці тому

    Well I did everything on point, but I have chosen England. Maybe that is why I could not make sun and orange style. I really don't know why.

    • @Urban_Decoders
      @Urban_Decoders  2 місяці тому

      haha Sounds like even a virtual England has miserable weather! you should still be above to get that golden hour with the standard cesium sunsky. i had mine set at 7am on 21/09/2023, time zone 0 and coordinates in central london.

  • @user-yn1uh5bl8x
    @user-yn1uh5bl8x 4 місяці тому

    Revit costs money? Same goes for Sketchup, or am I wrong?

    • @Urban_Decoders
      @Urban_Decoders  4 місяці тому

      You can get free trials for for revit, sketchup, rhino otherwise yes ou need to pay for professional subscriptions. A free modelling alternative is Blender which also has a datasmith plugin which you can use.

  • @user-mg2ik6qx3p
    @user-mg2ik6qx3p 5 місяців тому

    which is better sir revit or sketchup?

    • @Urban_Decoders
      @Urban_Decoders  5 місяців тому

      In relation to importing into unreal and google tiles doesn't matter so much. Revit models generally hold more metadata which you could extract and show, but if you just want to render geometry a textured model from either software works fine!

  • @baksi9312
    @baksi9312 12 днів тому

    Can you show how to split each building into object?

    • @Urban_Decoders
      @Urban_Decoders  8 годин тому +1

      You cannot split the streamed geometry but you can clip around it to keep or remove parts. I did a video on that workflow here: ua-cam.com/video/SMxhERRVszU/v-deo.html

    • @baksi9312
      @baksi9312 8 годин тому

      @@Urban_Decoders thanks 👍👍

  • @BlenderUnreal
    @BlenderUnreal 10 місяців тому +2

    thank you soo much for sharing your tutorial. i think, cesium itself is overwhelming. it would make more sense (for me) to have 2 separate tutorials, but in depth: a) cesium, b) placing own buidlings on it.

    • @Urban_Decoders
      @Urban_Decoders  10 місяців тому +1

      Your welcome, thanks for the feedback. Yes I agree there is a lot to it and i just scratched the surface! Will try make some more "easy to digest" videos on these topics in the future.

  • @Matias21704
    @Matias21704 10 місяців тому +2

    t