Google Maps 3D: Data into Blender
HTML-код
- Опубликовано: 13 мар 2020
- UPDATE - July 2024 - I can confirm this is working with:
Blender 4.1.1
RenderDoc 1.31
MapsModelImporter 0.7.0
In order to enable 'Inject into Process' in newer versions of RenderDoc you need to go into:
Tools - Settings - General - 'Enable process injection'
and restart the app.
In this video I show you how to extract 3D data from Google Maps using RenderDoc and the amazing MapsModelsImporter by Élie Michel. Please consider donating on his Github page if you find this process useful:
github.com/eliemichel/MapsMod...
This is the text that you need to add to the Chrome shortcut 'target' field to run it in debug mode (delete the existing contents beforehand):
C:\Windows\System32\cmd.exe /c "SET RENDERDOC_HOOK_EGL=0 && START "" ^"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe^" --disable-gpu-sandbox --gpu-startup-dialog --disable_direct_composition=1"
or
C:\Windows\System32\cmd.exe /c "SET RENDERDOC_HOOK_EGL=0 && START "" ^"C:\Program Files\Google\Chrome\Application\chrome.exe^" --disable-gpu-sandbox --gpu-startup-dialog --disable_direct_composition=1"
If your Chrome is installed in a different location to the one above you may need to go in and change parts of this text.
You can download the MapsModelmporter addon here:
github.com/eliemichel/MapsMod...
You can download RenderDoc here:
renderdoc.org/
You can see a tutorial on cleaning up the mesh here:
• Google Maps 3D: Photog...
You can see Elie’s original video here:
• Importing Actual 3D Mo...
You can download Blender here:
www.blender.org/download/
Donate to Élie here:
github.com/eliemichel/MapsMod...
You can see how to use Blender GIS here:
• Blender GIS
Thanks also to Bjørn Terje Hansebråten who recommended this process to me in the Blender GIS comments.
UPDATE - July 2024 - I can confirm this is working with:
Blender 4.1.1
RenderDoc 1.31
MapsModelImporter 0.7.0
Elie Michel has instructions on Github: github.com/eliemichel/MapsModelsImporter
I tried everything, but it's still give me error. I am sure there is something wrong during the capuring process. I tried to import a samples file, and it works perfectly fine. Is the a way you can help me with it?
why do you pin this if you know your info is wrong, it does not work and contradicts the github instructions. You made me waste time.
In newer Versions (>1.13) you have to enable File-> "Inject into Process" by going to Tools-> Seeings-> General "Enable process Injection" (at the bottom)
Are you using Maps Models Importer 0.4.0 with RenderDoc 1.14?
@@knight2255 exactly
Thank you!
A lot of thanks
Thanks a lot man! You help me and many other out.
This is so incredible it feels illegal.
@@pushthedesign AFAIK, violating TOS is not illegal (in the US). Using that data to in turn infringe on copyright would be against the law.
@@pushthedesign I don't doubt that they have a copyright on the data, but I'm allowed (legally, if not in accordance with TOS) to screenshot whatever copyrighted material I want on the web and do stuff on my computer with it as I please. If I publish/distribute it in a non-fair-use manner, then I'm violating the law (possibly). It may violate Google/Chrome's TOS to intercept the Chrome-downloaded 3D model in this way, but that action alone isn't illegal. (Again, AFAIK.)
@@pushthedesign yes I read that even using photogrammetry, I have for personal use used stuff like 3Dzephr and Meshroom and Google Earth and Streetview images to create pointclouds of local buildings, but the TOS is pretty clear, I have done it mostly just as a guide for scale and dimensions if I want to try and model something and texture with my own photographs,
note to others,
any photogrammetry depends entirely on the terms of the images used ie photographer's permission, you could use it to capture in game scenery too via screenshots and just as illegal, intercepting openGL data like RenderDoc does adds another layer of illegality to that even as would violate the use of the software you are capturing from on top of using images.
It is. There used to be a program that would copy Google Earth maps to your local harddrive, not even the 3D stuff, just the street maps and satellite images. And Google shut it down, said it was because the data on Google Earth is not actually theirs, that they source it from various outside sources which they rent it from. So it's kind of understandable that they don't want to lose trust with their sources, even though I think it's ridiculous that someone can copyright and sell an image of my house.
I think it might be. It's basically ripping content from proprietary sources. Even if you don't use it commercially it still might be illegal. Think of ripping music that is copyrighted. You might not have any commercial intention of selling that music and only enjoying it for personal use...but you've still stolen the content.
I haven't tried it yet, but I just wanted to add that this tutorial is perfect. Straight to the point, high quality and good explanation. Thanks!
this is like the 4th tutorial I watch, and youre the first person who actually undestand that explaining something doesnt mean leaving important steps out and let me figure it out. really couldve saved me some rage
Quick and to the point. The way tutorials should be! Thanks a bunch!
Imagine how much easier it will be to recreate real-life locations in games like BeamNG. Thanks for making this tutorial!
This works more like a background than something you could drive on, textures are very low resolution and the meshes are awful, unfortunately.
GTA 6 Developers should do this 😂
@@drive_with_pov lol yess
@@marcd7332 maybe for strategy games, like 3d animation of battle, that happends in some way regardless of your commands. Like europa universalis, crusader Kings, europa universalis. If these maps doesn't take much memory, you could do real 3d animations for large amount of points of map.
Overgrowth
Thank you! Been fighting with this a while now. Your simple example/explanation of changing the executable has saved me. Brilliant
you have one of the best tutorial flows and voices out there - cheers mate
That tutorial was top class it's been years since I used any of this, but I still understood everything instantly.
Thanks for making it short and to the point.
i think it doesnt work anymore :(
I´m trying but it just reloades and you have to constantly inject.
I'm a architecture student doing 3D Archviz with blender. Man this is extremely helpful. God bless you man really
Can you help me with a project please. I have an image of a piece of land that I need to transform. I can send you the image
Fantastic! Finally got it to work. Initially I couldn't get the PID number window to pop up. After reading the trouble shooting guide by Élie, I realized I have other instances of Google chrome on. After turning them off in Task manager, I got it to work. This is a great tool to extract geo data!
This is a great tutorial and a new method for making terrain I haven't seen before, thank you!
For those who can't get Chrome to pop the PID window, you have to close Chrome and end all the chrome tasks in your task manager, THEN run the shortcut.
Also, DO NOT open Chrome, close the PID window and THEN inject, do it like he does, inject with the PID window open and the press OK
Thanks
love you bro. saved me
すごすぎます!!!
さっそく試してみます!!!
Thanks for this dude, got it working in about an hour :) Very pleased with the results!
Brother, I wanna only say... I love you... srsly... I have been working for one of my projects for about 3 month in which I want a 3d model of google earth real data but unfortunately... there is no such tutorial on youtube which work perfectly.... either there was some texturing problem or some modeling problem... But now because of you, I have finally got the best process complete my project otherwise I had given up...... Thanks a lot, buddy thank you very very very much..... ❤❤❤❤❤❤❤❤❤
This is a game changer.... thanks so much..... infinite amount of racetracks coming up....
Tip: If you're using 2 or more monitors Chrome and RenderDoc need to be in the same monitor.
thanks!
I watch this video three times a year. Works every time
Dude...thanx For figuring this stuff out for us man, Really appreciate!!!!
I wonder how long it wil be before google disables this
Now this is how tutorials should be made. Thank you sir!
it worked!! MapsModeImporter 0.5 + RenderDoc 1.19 + Blender 3.4. Thanks a lot!
Is the topology/textures better by using those, compared to older versions of any such software?
How if RD doesnt allow for inject? Thanks in advance
This is the first tutorial I have understood mostly because it's also THE ONLY TUTORIAL IVE FOUND IN ENGLISH!! Thanks for this though
Edit: also if you have trouble at the shortcut part, go to program files and find the Google folder copy and paste that into programfiles x86
Nice Tutorial! I like your style and speed to explain all that.
Just an FYI, I had an issue whereby I couldn't capture using RenderDoc - it was because I had hardware acceleration turned OFF in Chrome, hope this helps!
Great short tutorial I ever seen, thanks a ton.🎉
Quick n straight to the point. Thank you for that.
Someone has to make grand theft auto google maps
I already have :)
yes
Well first would have to be able to make it work on blender...
@@MyRagingMonkey what game did you use to import the map?
@@MyRagingMonkey where?
Awesome stuff. I can find many uses for this addon. Seems more detailed than the mesh you get with GIS too. 👍🏻
But much more harder than GIS :(((
Done, done, and done! This is VERY cool! Salute to Élie Michel
This is awesome. Thanks so much.
For anyone following in 2022, I didn't want to use Chrome for this, but successfully used Vivaldi.
This is your daily dose of Recommendation
Import Google map 3D into blender. Cool and good. Amazing Awesome!!! Thancc
And Boom, the magic happened. direct to the point thank you sir
Can you please help me? every time I open the google chrome it says "Windows cannot find "C:\Program Files\Google\Chrome\Application". Make sure you type the name correctly, and then try again", what am I supposed to do?
@@star_king4855 your chrome was installed in a different file
Great Contribution Man! Thanks! 👌🏻🎬🔥
Thank you for this video, only one I've watched that actually worked.
I'm about to drop a meteor on my home city Haha :D, nice tutorial, a fine addition to my collection
Is the meteor the size of a virus?
Have you noticed the resolution you get from this process is very low res/low poly? A family member assigned my a design job for her backyard, so I used this thinking, voila, easy peasy, barely an inconvenience, and nah ah, it's so low poly, I can use it, but for measurement only.
If only we had access to the real data like the corps and military does. Dare to dream to use data for non-hostile purposes. Can't have that.
Get the google earth data for crater lake and mix them together, lol.
@@KKovacsUSN, I tried the google earth data rip, and the resolution is really bad, at least for my backyard previz for my families redesign...maybe REALLY big wouldn't be noticeable.
If only we could get the stuff the military uses, now I can make art with that!
@@jeffspinner6579 The closer you zoom in, the higher the quality it will be. It extracts the data that Chrome uses too. The data logicaly gets lower res to save performance when zoomed out further.
I'm gonna import my home town into Unity have a little virtual walk in there, since I really miss it :') And then I'll blow it up. Thanks for the tutorial!
lmao....i was thinking exactly the same....#quarantine_sad_life
@@rajivpokharel88 yyeah, man... at least it gives more time to learn stuff like that!
How did you do that?
@@sdach3sach167 just import the model into unity and then add a 1st person character controller.
I mean, cant u just use google maps
I've been trying to make this plug in work for a while now, and I simply couldn't get a capture. Because of the layout of keys and who knows what else. my laptop simply wouldn't capture when I tried to time the Capture Screen buttons and wiggle the screenview at the same time. Your suggestion, which was new to me, of selecting the Immediate Capture option in RenderDoc absolutely sorted that out, got me a viable capture, and now the MMI plugin has imported it to Blender apparently without a hitch. Thanks so much!
Can you please help me? every time I open the google chrome it says "Windows cannot find "C:\Program Files\Google\Chrome\Application". Make sure you type the name correctly, and then try again", what am I supposed to do?
@@star_king4855 I think for me Google Chrome was doing some weird thing where some of it was in Program Files but some of it was in Program Files (x86). I copied all the files over from one to the other and that did fix something at the beginning of my process...
Thank you, I've been searching for something like this for 2 years. Photogrammetry worked too but it took long time to get the mesh, I also found a similiar method to this but it was a lot harder.
Can you share the different method ?? kindly mail it to me if possible uzairsiddiq935@gmail.com
Can you please help me? every time I open the google chrome it says "Windows cannot find "C:\Program Files\Google\Chrome\Application". Make sure you type the name correctly, and then try again", what am I supposed to do?
@@star_king4855 use the path in the "start in" box rather than the one u typed in "c:\program files etc..."
Awesomeness :) I'm sure most of us would be quiet happy if this video took 7 minutes .. what's the rush :) Thanks for sharing this :)
Watch it in 0.5x haha
Hey Nicko, is there any 3rd party SDKs/methods that will allow users to import road names/buildings? Even creating your own annotations/texts to label specific buildings/roads will be incredibly useful. I tried using Blend4Web to do so but realised that it only supports up to Blender 2.79.
This is so cool, works fine. Thanks for that!!
Holy Moly, THIS IS REVOLUTIONARY, this will help me SO much, and will save me SO much time in my projects. HUGE thank you to everyone who created this video, the Blender Addon, and RenderDoc, you guys are amazing.
Hi Nicko16, I was able to capture and save a map after following your video tutorial. But when I opened the saved .rdc file in Blender 2.8.3 there was an error message that I was using Google Earth instead of Maps etc. Si I tried to open Google Map after the command shortcut to follow the message and navigate to a map location. However, when I open RenderDoc, the Chrome PID Tab to display the "Capture Frames Immediately" is no longer shown in the Interface. Instead a "Launch Application Program" Tab appears where an Executable Path, Working Directory, Command-Line Arguments with an empty fill-in box is presented. How do you input data on those blanks so I can capture what is shown in the Map? Better yet, how do you get the Capture Frames to show in RenderDoc?
This channel is underrated
very useful i had no idea it was this easy
Amazing tutorial. Holy grail for us 3D buffs.
Exactly what I need to learn during this quarantine period.
Hi nicko16. great video. And thank you Elie for making such a great tool.
Could you give us a quick tutorial on how to best georeference an .rdc file over the GIS basemap? In your example at 3.35 it seems like it placed the object in the right location and all you had to do was scale it. I keep having to scale and skew the model to fit the basemap. Is there an easier way? (georference the .rdc perhaps?)
thanks in advance.
Came here for the scale issue, left with Inject into Process answer as well. Thanks!
This is absolutely revolutionary
Great video. Thanks for sharing. Is there any way of increasing the distance and resolution of the capture?
Хороший аддон! Использовал в 3d презентации...
Thanks for the tutorial. Much more better than the other workflow seen in other videos - manually rotate view in google earth, video-screening it and then use photogrammetry software like Zephyre.
can you get good results with doing photogrammetry from a video file? I always work with photos and it is such a time consuming work
Really really cool. Gotta make sure everything is compatible. I had to use x64 version of RenderDoc because Chrome is apparently x64 now. I used Blender 2.93.8. Maps Model Importer was v0.4.0. RenderDoc was version 1.18. A note on RenderDoc... I had to edit the settings/prefs to allow for process injection. You have to enable it and restart the program to use that option under the file menu.
Got it to work though! Amazing solution!
I didn't get it to work, google won't launch in debugging mode and that makes the injection process stop every time I press "ok" on the popup window with the id number
@@diime02 Yeah I'm having the exact same issue. Checked the github and it seems that the creator of Render Doc is a massive autist because he keeps closing any Q&As asking about this issue. Something to do with it being used for illegal activities...
This is very promising...but like many others, I have trouble making it work. RenderDoc 1.9 is installed, and I am able to inject it in the google GPU process using the PID from the dialog. (I do get the "Connection status : Established" message in RenderDoc) So far so good. But once this is done, Chrome opens a new page where it only says "Page unresponsive". If I click ok on the PID dialog, Chrome just open a new dialog, with a new PID, and the connection between RenderDoc and Chrome is lost... Anyone has any idea ?
My renderdoc seems not to want to successfully inject itself into chrome no matter what. I have chrome opening with the pip window and have renderdoc picking up the process, and i have to input a new number and hit ok about 3 or 4 separate times before it loads into chrome, but once chrome opens there is no renderdoc console info in the top left nor is there the option to capture in renderdoc (it is greyed out). I tried downgrading my chrome version and that's not changing anything, and the earlier renderdoc version (tried 1.9) seems to not want to open at all. Anyone else having an issue like this?
same
Excellent video, immediate subscription, added to favorites, thank you. I hope that I have committed these steps to memory and that they work in the future, LOL. This used to be so easy with sketchup but google went and locked everything down
Thx for the really detailed explanation
I can't get passed the process injection because Render Doc keeps disconnecting the pid every time I click ok to the pop up window. Has anyone found a work around this?
Eh got the sol?
Google version 0.96 added a debugging thing that makes it so you cant take models this way. too many people using this for illegal things.
Do I need to have google earth or something downloaded too? I don’t know how you got 3D images from google maps
It'S very incredible what Blender can do today.
Awesome video!! I love it.
Very good
Hi Nicko . . The Level of Detail you achieve with this technique is amazing! When I ran this workflow, I didn't achieve anywhere near yours. Could perhaps do a tutorial on this matter . . . or drop some info in the comments. Many thanks for this!
It s so cool and so easy to use!!! Thank you
great! i was looking for that kind of workaround!!! :)
All fine up till at 2:18 press OK.Opens a google window but no de-bug stuff at top of google.Can't go any further.I"ve tried it 10 times.Same thing happens.HELP!!
same
Google version 0.96 added a debugging thing that makes it so you cant take models this way. too many people using this for illegal things.
Hi.
After injecting the procces correctly, when i close the small chrome pop up with the number, the tab in RenderDoc which shows the injection process closes as well.
Why does this happen?
It worked! Thank you.
I had some issues with google chrome not showing the PID. Make sure chrome isn't running in the task manager (ctrl+alt+delete). I then had an issue with invalid RPC. Make sure this is on Blender 2.90 and is using RenderDoc 1.10 (Not the latest version!)
Oh my god thank you so much for this!!
Would it be possible to get an solution to the traceback error when importing the rdc file (1.6) into Blender(2.82)?
Chrome message: command line prompt is not supported (--disable-best-effort-tasks)
Does anyone else have this issue? n´
How can i fix it?
I have the same problem
Me too!
Me too
same here, i wish i could fix this, I have a work to present next week, I really need this to work
Not supported just means that it’s not recommended for everyone to use
Yes exactly how I needed it
The reason I use Blender
I can't get chrome to start in debug mode. Everytime I go back and click the box with the number it looses connection and does not show the black text on the top of the chrome window ..
Heh got solution?
Everything goes good until I try to import the file into Blender. When I try to I get a "trackback" error.
Same. Anyone else have this?
@@kotobdev Try Renderdoc version 1.9 (instead of 1.10). It worked for me.
@@ifzwischendurch Same here. Rederdoc 1.9 w/ Blender 2.82
Awesome stuff. I can find many uses for this addon. Seems more detailed than the mesh you get with GIS too.
Works with Blender 3.1.0, RenderDoc v1.19, and MapsModelsImporter v0.5.0! Was getting errors with a newer version of Blender. This feels like cybercrime, I love it.
Everytime I open Renderdoc, it opens then crashes shortly after. Has anyone got a fix for this?
I do. Close all browser windows. If that doesn’t work, use Opera
if you are getting "invalid rdc capture" error while importing the .rdc to blender
I believe it's a problem of not matching versions of blender and renderdoc
I had this problem at first but after changing render doc version it worked fine.
I am using blender 2.82 and renderdoc 1.6
the Maps models importer I am using is 0.3.5 (didn't have to change it)
Holy shit thank you so much it worked!!!
Update: It only worked once and then back to the error...
@@DanceOfJesus you are welcome!
actually, I've used it only four times and all the trials went well, but I am not using it any more at the meantime.
@@asem452 I'm not sure, but i think that before you inject readerdoc, you need to wait like 30 seconds for google to open a non responding window. Then you inject and click ok.
And then to import in blender, you have to have a completely empty scene, and most of the time itvwill import without errors
I'm not getting an error on mine, just when I import my .rdc, nothing happens. Like nothing at all happens.
Thanks for all of your vid. It helpful
OMG! what a? Will definitely try it out! Thanks!
I'm having a weird problem, i do everything correctly, and i try and capture frames, but the "Capture Frame(s) immediatly" button is greyed out? anyone have a solution? thanks.
After you enter pid in renderDoc then go back to Google chrome and click ok on the pid tab/window, I suffering same problem and did this procedure can solve my problem
Thank you for making this incredibly helpful tutorial. I have 2 questions:
1. What is the best way of doing large scale areas while still having good quality models and textures?
2. Is there any way to accurately geo-reference the capture to specific co-ordinates?
@Abbe Ilias Engers do you have a link ?? where can I find this ?
Same question, will be so good !
blender-osm
@@thodorisefstathiou6894 osm is worse than google tho
@@andreybushev3020 osm is autogenerated, google earth is actual satellite data, but osm consumes way less polygons than earth, but you would need to get a workaround for textures
3min and 50sec of usefull tips ! Thanks =)
Oh dang! That's awesome!
Heyy Nicko, i have been following your tutorial to the letter, but after putting the PID, connection established, I go to chrome and press ok on the dialogue box, but nothing happens, chrome doesn't open in debug mode. Might you have an idea or fix for that?
Hey Jean, check your directory folder because Nicko's chrome is in Program Files (x86), mine was in C:\Program Files so my text i tweaked a bit and looks something like this:
C:\Windows\System32\cmd.exe /c "SET RENDERDOC_HOOK_EGL=0 && START "" ^"C:\Program Files\Google\Chrome\Application\chrome.exe^" --disable-gpu-sandbox --gpu-startup-dialog"
this worked for me.
Hi! I am trying to follow the method, but I just found trouble after writing the text line in the shortcut of chrome. When I click on it, it only opens a normal window and not a second one with text. A frind of mine has tried to by his own and same resulto. Do you know what are we making wrong? Regards, and thank you
me pasa lo mismo, después de modificar el acceso directo me hable una pestaña normal
@@leonespinosa843 Es que tienes que tener cerrado Chrome. Yo lo tenía abierto porque estaba viendo este tutorial así que tuve que abrir el video desde otro navegador para que no afectara el Chrome
Check your target location,
Amazing. Thank you!!
THANK YOU SO MUCH! Now I can drive around my city (Unity)
Why would my PID open and instantly close after clicking the CMD shortcut? Thanks
Hey Nicko 16, THANK YOU FOR THIS! Been a great help for current project. Quick question, how do I get the API: D3D11 to be active? It's showing up as (not presenting) which I have a feeling is contributing to the reason as to why I'm getting bad captures
Amazing! Thank you man
One of the best hacks I have seen in a long time. thanks
Getting this error. Also when I try to open the application after pasting into properties, the the Chrome GPU wont show up.
please help
me too..
@@artee232 Same here, cannot find file location...
Closing chrome fixed that for me
I'm not getting the 2-window "GPU" pop up... I have Chrome closed and I'm still seeing Chrome.exe files when I refresh... and I'm not getting the pop-up to put into render doc...
i have the same issue, what should i do?
hey everyone that it not working for..... The only ones that worked for me as of the date i have posted this comment was renderdoc 1.13, blender 2.93, and mapmod 0.4.0.... make sure when you launch chrome that you don't press the ok button on the little pop-up code, first inject chrome then press ok on the pop-up... hope this helps
This worked for me. Ive tried many other combos, as I owned many diffeent version of blender, I also used different renderdocs and Map addons. This worked. Damn. Thanks dude.
@@zossua7375 No worries man... glad i could help you
thats pretty epic, nice addon to GIS
very useful and educational. thank you