The ENTIRE WORLD in 3D inside of UNITY| Google Maps 3D Tiles to Unity TUTORIAL
Вставка
- Опубліковано 13 тра 2024
- So Google Maps Platform just released their latest API that includes Photorealistic 3D MAP TILES and an awesome integration with CESIUM for UNITY to make this even easier. This is pretty new and now makes possible to actually have a 3D representation of the world and it's streets inside UNITY. The potential of this is HUGE and I'm really excited to see what you guys do with this.
Here's the material referenced in the video:
• Install UNITY: unity.com/download
• Sign up to CESIUM: cesium.com/ion/signup
• Generate GOOGLE MAPS API KEY:
---------------------------
• INSTALL the SCOPE REGISTRY:
Name: Cesium
URL: unity.pkg.cesium.com
Scope(s): com.cesium.unity
-----------------------
• The FROM URL token + YOUR_API (Replace the YOUR_API for your API). PLEASE GO TO THE LINK AND COPY THE URL FORM YOUR BROWSER, SINCE UA-cam SHORTENS THE LINK:
"--tile.googleapis.com/v1/3dtile..."
-------------------------- TIME STAMPS ------------------
00:00 INTRO
01:23 Add Cesium to Unity
02:44 Get Google Maps API KEY
03:49 Create CESIUM token
03:59 Create the 3D tiles tileset map
06:29 Add a Dynamic camera (or not)
07:34 Objects not staying in place with Dynamic Camera
08:13 Sub-scene creation and global transformation objects
11:29 Add Third Person Starter Asset
13:12 Outro
Now we need an AI to refine all the tiles to actual photorealistic ones
Thats a fuckn insane idea :D i hope someone make this
CityEngine would be better choice? Get the ai to replace box buildings with actual buildings you can enter and use ai to populate.
That will do a lot! But it will also help to have much more and better data (for example from inside real shopping malls). It could be done by crowdsourcing photos/3d-scans from people with smartphones. Or waymos self-driving cars can scan everything in much higher detail together with swarms of solar powered drones.
Then the NPCs could be based on all the photos on facebook/google images.
@@jimj2683 or just go outside 😭
It takes 400,000 hours to refine to actual photorealistic ones for 12 tiles
*laughs*
I could see the next phase of this development, where with the help of generative AI, Unity would be capable of reconstructing the world. It could transform a low-quality graphic into a highly detailed and empty world, and populate it similarly to how they demonstrated in that Matrix demo.
The Matrix demo was made with Unreal though, but I see your point.
infinite procedurally generated like no man's sky
That would weight like 800GB
@@StefanConstantinDumitrache you can do exactly the same thing inside of Unreal 5.2 now :D
@@gear2second401 I'm confused by your comment. Did you mean Unity? The video is about what Unity can do, and I said Unreal made the Matrix demo. Please elaborate on your comment.
I've always wondered about a GTA version based on real different cities with the actual map. Now imagine a GTA world like this! Insane
NO WAY DUDE
@lofi music oooh YES DUDE, the future is here!
@@Tomppsu Nah, it may come with GTA X in in 2099.
@@mrboleus8240 3099*
Cyber bullying and doxing will be insane 😂
Wow, this is an extremely cool feature. I've been hoping for an open world racing game for a long time, where you can explore the whole world on a 1 to 1 scale with cars, motorcycles, planes and boats. Like a mix of Microsoft Flight Simulator and The Crew 2.
this will take so much time to make
@@splxtz8970 ...with the Help or Ai.. it could be so much faster... the Ultimate Racing Game...
.. and the Ultimate Car Race would be titled "Around the World in 80 Days"...or "The Global Cannonball Run"... with a Race all Around the World. 😁
@@v4v777 or it would be called forza world as they will most likely just buy the game from the devs
Add to it the BeamNG physics and destruction to the vehicles , and the buildings all made in Voxel like Teardown. What a dream.
Now imagine combining street view with the 3D buildings etc. The detail at streets would be amazing!
Well Google new feature called "immersive view" is basically that: combining street view and satellite data to create a virtual 3D world with AI techniques called NeRF (Neural Radiance Fields). Can't wait for this to be used in video games
@@leleogere Nah. I have tried it and it was not very impressive. Only slightly better than the old photogrammetry citires in Google Earth. Still not good enough for a ground level game.
@@jimj2683 yeah i couldn't use this for this exact reason its fine for flight sims, but for vehicle/FPS it looks like shit, I really wish we solve this as I need a good solution
its possable to only upscale the same amount of detail the crew 2 offers with the entire usa to drive around, the old"if ya cant see it,it aint thre" programming.
Already exist in Microsoft flight simulator
Guys, I'm planning in doing a full UNREAL ENGINE CESIUM series, starting this week with the quickstart, so consider subscribing to don't miss that. Also, What feautures would you like to explore about more from the CESIUM plugin and Unreal Engine integration?
I've already recorded a tutorial to add a Third person character with a possesable vehicle, and some blueprint programming to smoothly teleport the Dynamic Pawn to anywhere in the globe, so expect those after the quickstart.
I've been also working in a demo i made in like 1 hour where I mixed the Ultra Dynamic Sky and the Superhero animations assets (which are assets a little bit expensive), to create a Massive open world Superhero demo, are you guys interested in watching a quick demo about this or should i just go straight to the tutorials?
Thanks a lot for all the amazing comments and feedback, keep being amazing! 👽
haga tutorial en espagñol
mind in mind, i was just about to write to you watching your video if you would do a tutorial also for UNREAL ENGINE ! Awsome decision and thanks in advance. A quesiton about Cesium would be - would you make a tutorial about the new Blender Earth Modeler Add-on - where you would add earth google maps buildings but also add animation for people moving and vehicles.
Contact with you my Google maps platform is trouble
So please to video to step by clarity and to account sign up details to tell
In unity
Wow! Unbelievable! Many companies abandoned map development for Unity, including Google, so this is a huge surprise. So for the longest time there hasn't been a reliable Unity-based map product I can give to customers. I need to try this tomorrow and see if it's as good as you make it seem. Things that matter most to me are route generation, rerouting, maximum tile cache size for offline usage, controlled top down zoom and panning, and adding my own objects to maps. But the most important thing is that this doesn't become abandon-ware like other products.
Yep, Finally after 2 years I can make a real scale earth with real places *with airplanes to fly*
They are secretly developing it. Never fully trust an official statement from a big company.
This is incredible. Recently, a mod came out for Skyrim that adds AI voiced companions that push the envelope of NPC interaction. Paired with this technology, I can see a revolution for open world gaming coming in the coming decades.
✨ TITLE AND THUMBNAIL CHANGED to reflect more about UNITY's dumb decisions✨
UNITY decided to introduce this awful fee taking effect Jan 2024, that is set to charge a big fee per download of a game when reaching a certain threshold.
This change doesn't only deeply affects indie developers and indie studios who barely make a living, but also AFFECTS MASSIVELY to the whole ecosystem of jobs and professionals that use UNITY professionally, since this abrupt change requires game studios to completely readjust their profits margin and causing a huge wave of layoffs, and salary reductions.
Until this bad decisions are changed, I highly encourage you to NOT TRY THIS INSIDE UNITY, but instead doing it using Unreal Engine 5.
I'm sorry I wasn't able to make an Unreal tutorial in time, but I'll link you to some awesome tutorials in the description that recreates this same thing (and better) using UE5; a free software that actually cares about their developers. Take care ✨
-a
---------------------------
Wow, feels like my dream came true! I thought about this idea by myself for about 5 years now and i am just creating my first third person open world prototype right now. I started to recreate my hometown in Blender, but for a big area i would need months or more. I will try this now and maybe come back for questions:)
Let's collab
I came in first because i have this idea like 6 years ago
This is amazing. Thank you for a great tutorial!
Thanks for the tutorial! Do you know how you animate models in relation to the map? I've tried to put a cube and animate it using Update() function to edit cube.position.x, like you would normally do in Unity, but this doesn't result in a moving cube in AR. Do you know how I can do this?
And there it is lol Been waiting for it. ideal setting for some realistic Z-pocalypse games!
thanks for the tutorial :)
Awesome :0
Thanks for sharing this!! I really appreciate it a lot!!
Step 1: it's done (stuff from the video).
Step 2: Every country makes several groups of devs supported by AI and upgrades graphics and fills their own country with content.
Step 3: Special VR computers are built. Computers like Animus, those from Assassin's Creed games series.
Step 4: People can jump into VRComputers, connect themselves to the device, and play a "life" but with a bunch of money, without illnesses. They can travel across the world, buy their dream car, or house in Beverly Hills, etc. etc.
Welcome in 2053 😎
Sword art online
@@KarrasBastomi virgin
Finally up to a next milestone in gaming. I bet every gamer has already thought of this in their gaming life and e.g. flight simulators try it since ages. but often technical limitations stop this from happening in a good way
I feel like we are close to a real "real" world in gaming.
I can already Elon scream in the background: "WE NEED THIS FOR MARS!!"
I am imagining that everyone in the world is playing it in a real time server with their own characters, and it follows the world time zone. There's laws like real life, you get sentenced for months or heck years if commited crime. Buy from shops go to a bar at night. Really huge potential. Its like GTA but in real life mode
That would be so cool, but there should be different servers. Some for more free gameplay like GTA so you can try out anything that you would never be able to do in real life. Real life is boring because you are constrained by laws, consequences, money etc.
Just turn off the computer and go out! It's pretty much the same
@@haidermoyedm3901 well, it's the free version I think 🤣👌
I would pay big money for rockstar to do that
But sadly u cant go to anywhere u wanna go like u wanna go to new york but ur some where else
Very nice tutorial. I liked and subscribed.
Could you replace this third character with a helicopter to fly around in third-person view? I want to know where to add this helicopter. Do I need to create another new sub-scene for the helicopter? And what happens if I fly the helicopter from NYC to Vergina. Will the sub-scenes get mixed up?
Hi. Thanks for the tutorial. Is there any way to freeze the buffer? So that the loaded part of the terrain never loses geometry again
Thanks for this vid. There’s nothing more I wolf like than something like this
I'd love to see it in unreal engine and also see if theres a way to turn the sub scene into editable geometry so you could swap out parts for more detailed geo.
yeah unity kinda sucks in 2023 when you got egines like ue 5.1 and godot, I already left unity cause it aint the engine that is worth to work in anymore, especially when it comes to graphics
@@1758 what's wrong with it? Just curious
it is already in UE5 too
@@DavidSalamanca yeah been playing with it
@@1758 it means you dont know how to use it lol
always wanted / wondered what it would be like to do something like this, here we are
Imagine in the future we all play online with vr headset on google earth like this with high graphic and real life situation, this could be real Matrix 🔥
great job!
LOL "global space" really has come to mean "Global Space" XD
This is so awesome.
How do I check when the map has been fully rendered?
Yes, please a tutorial for Unreal Engine!!!
Finally!!! Been wanting a 1:1 world scale game. I think if you cut time to 8 hours, 6 day 2 night, it could work.
A 1:1 scale game already exists. Microsoft Flight Simulator
@@Highwaysonyfan87 I'm talking ground game. All the griefing and fuckery happening in mmos is because there's too much free time and maps are small. Game this big means it can be full open world pvp but you'll have places to hide. And travel becomes a consideration.
@@Prof.RafaelJunqueira it would only be boring for average and below average gamers. Teams clans and higher quality players would love it.
@@Prof.RafaelJunqueira It would not. Driving around ALL The world would be awesome
@@BassmeantProductions man we are developing an rp game with a map of the earth
Man this would be inane to have all photo realistic. Adding cars moving around, lights changing, people walking around. Getting to go anywhere in the world. VR would be amazing.
Wow, that's actually crazy, I can already just imagine a shooter game (Battle Royale style, I guess), a racing game or even a GTA game using such a map 😮
Yes, the map is very crude and you can't make much of anything, the ground isn't even or anything, but... It's the ENTIRE freaking world!
Evening the ground and refining the overall looks (not so much that it would melt a computer) and it's good to go 💪
Actually, I wouldn't be against having Pokemon GO with that level of detail 😎
Wow u are so genious. its very important for my job as an Architect
I like the look of the buildings. They look organic. I bet you could write some AI to recognize and fix buildings, forcing them into cube-like structures, but that would likely break non-cube-like buildings.
Is there any way to take one of Tiles and export it as FBX to blender and do some optimzation?
so fricking good!!!!
Edit: why do we need subtitles on this video, if they exist already in the video lol
Is it possible to add coliders to everything? Or do u have to do it for the hole world manually? 😄
Good job on this video!
would it be possible to use google moon or mars? if so please tell me how.
Can i get my object position and using ARCamera for tracking it on real world, i have no idea how to do it, so can you help me out did it works or not? Thanks
Not gonna lie thats dope!!!❤
What Editor you need to install before doing that.
Well, now I’m going to have to do this :)
it's crazy in the future we can play open world games with realistic map
Most probably is that your grandchild is the one whose gonna play it when it happens
Mind is blown 😮 thank you for uploading and clear demo 👍🏻👊🏻🫶🏻
You were recommended to me. Just letting you know. Also, your fu☠️☠️☠️☠️g awesome! Subscribed
Hello, I am not prompted with the API key after creating a new project, how do I get the key?
this is SO MUCH COOL
“Oh my God” *walks through city with Ps1 graphics*
I’m just kidding this is really cool I can’t believe you pulled it off, and it’s awesome that you showed how it was done
Nah not ps1 graphics, roblox mesh graphic 1 mesh see compatibility graphics
This opens all the dream projects which we had thought with real geo political maps
There's no link to generate Google Maps API Key "in the description".
WOA!!!!!
Nice THX!😎
Just wow!
how much performance it would take up rendering all those vertices at once in the editor
Mind blowing
does the map tiles works on android build. i can see terrain data loaded in editor but not on mobile build?
i dont think so but you can code it into a html editor
Is there a way to save the mesh?
thats insane
in unity the My Registry is missing in the latest version any solution for that
That's weird, are you sure you are using the latest UNITY version?
Eitherway, you can manually add the desired scoped registry package by searching inside of your UNITY project folder (The file explorer one, and not the explorer inside unity). and over there going to the your project folder > Packages > manifest.json.
There, you need to open the manifest.json in VISUAL STUDIO or any other IDE (make sure you close your UNITY project)
In this file you can see the code for all scopedRegistries and Dependencies installed in your project. You should have at the bottom, inside the scopedRegistries bracket, the Cesium url and scope.
If that's the case then you just need to add the registry at the top of the code inside of the dependencies bracket.
-------- You can just copy and paste the ----- "com.cesium.unity": "1.2.0", -------- and put it inside your other dependencies (beware of the comma at the end). ------- . It should look like this:
"dependencies": {
"com.cesium.unity": "1.2.0",
[ your other dependencies...]
},
--------
If you also don't have the Cesium scope inside the scopedRegistries bracket, then try adding this, should look like this:
"scopedRegistries": [
{
"name": "Cesium",
"url": "unity.pkg.cesium.com",
"scopes": [
"com.cesium.unity"
]
}
]
}
Finally you can re-open your UNITY project and hopefully you'll see the Cesium panel now! :)
Does it work on unity 2018? It’s a dumb question but you can just answer with one word
I can't get the APP api, when I try to enter into the credentials tab it redirects me to a free trial thing, and I can't even take the free trial due to an error.
is there a chance to download the 3d maps from unity?
Cool!
How can unity render all of this, I'm curious :)
How do you "Start Synch" ? I put my API Key and had the correct parameters but so far nothing is showing up.
Surely i'll try but, is possible to make a 3d character moving on the same world map but using google street view images as geoguessr? It can be incredibly high res charging reference images way more faster then charging a 3D model of the world in low res as the video
I would love to see that!
I did this like 2 years ago in Unreal engine. Probably the same software. It's really fun
I did this in my mind 3 years ago and yeah it is fun
But it looks like as it is with the GPT plugin there's a free trial (yeah that's why there's a key) so how do you get this on a game? You're sure you don't need to pay like insane or something all the time for the service
"Cesium" is pronounced SEE-ZEE-UM (It's an element in the periodic table).
Good tutorial! :)
can be fed with street view, in order to create realistic roads?
It already is
I tried this on 12 apr 2024, it's not working after doing the url step. I have added my key but still not updating the screen. i check on troubleshoot option; it say- This object is not configured to connect to Cesium ion - (even after selecting the URL option)
There are any form to so This free?
How do you turn your sub area to basic shapes of terrain buildings etc
Does it work in built-in
It's like having a ps1 game but the map is the whole Earth, just imagine what's next in 20 years....
comment rendre jouable sa map cesium ?
Hello, anyone know how much storage this takes up?
wtfffff its awesome !
Interesting!
Any chance to be saved the map and used in offline mode?
Found solution?
it is not working for me. I don't get the api key after making the project please can anyone help
Is there a way to improve the grafics?
yes, generative ai will help a lot with that when they train it on millions of 2d vs 3d scenes.
my unity world are flat, how did you do that 3d scanned volumetric houses?
Make sure your location has that 3D imagery feature available from google. This 3D data is usually not refreshed in zones far away from big cities, cities where satelital images by google are not allowed, or simply areas where there's not enough satellital images from google :( You can check if google has that 3d data in the usual google earth here: earth.google.com/web/
You can request for an imagery refresh by using the feedback tool within the Earth Menu and hope for the best.
You can read more about this here from bullet 11-15: support.google.com/earth/thread/2298894?sjid=12275780965731803344-NA
Its very good realisation for car games!
Thanks!
I always used to think to play Just Cause 4 in real world map on my PC.
This is close to my dream.
is there a dpwnload link for the game
rockstar after seeing this
this guy really likes subtitles, he has 2 versions of subtitles inside the video and subtitles made on youtube
Will the world continue to be there in unity without internet connection?
No, it would take up too much memory on your computer, you would need thousands more hard drives to even attempt to do this
let me test it out man i will be impressed with that
Imagine walking to your home in unreal engine, then seeing a robot irl standing outside of your window. 😅
Interesting.. nice playtest ground at the very least
How to import only one city? And make it offline?
Build the earth Minecrafters: Well we weren’t first, I guess we’ll have sloppy seconds.
I didn't get an api key pop up???
man a champ changing the title of the video in protest
Person who just started their game dev journey yesterday:
Here's an idea for a game, you make a life simulator using the whole world as the npc
GOD!!! You´r a GOD!
This is amazing ! Does this work offline ?