Tutorial - How to extract Google Maps meshes and import into Blender/Rhino/UE5 for reference (2024)

Imagery ©2024 Google, Imagery ©2024 CNES / Airbus, Lantmäteriet/Metria, Maxar Technologies, Map data ©2024
Timestamps:
0:08 [Intro] Introduction to tutorial
0:28 [Intro] Software requirements and installation of MapsModelsImporter and RenderDoc
2:54 [RenderDoc] Setting up
3:37 [Google Chrome] Opening a browser window with custom arguments, and injecting with RenderDoc
4:32 [Google Maps] Manipulating the LOD levels with the browser zoom level
6:15 [RenderDoc] Capturing a frame
6:49 [RenderDoc] Saving the capture and releasing the injection
7:07 [Blender] Importing the extracted meshes
8:08 [Blender] Simplifying the imported entities (joining objects and merging vertices by proximity)
11:05 [Blender] Applying transform data, making a duplicate and removing all material slots with a script
14:08 [Blender] Filling significant holes in the mesh manually
15:54 [MeshLab] Downloading and installing MeshLab for an efficient unwrapping process
17:04 [Blender] Exporting the mesh
17:30 [MeshLab] Unwrapping and exporting in MeshLab
19:25 [Blender] Importing the mesh, organizing and applying transform matrix
20:25 [Blender] Verifying the unwrapped faces
21:15 [Blender] Baking a projected texture
24:32 [Blender] If relevant, computing the bake process with the help of a discrete GPU will lower baking times
25:12 [Blender] Visually verifying the bake result, and saving the baked texture
26:57 [Blender] Exporting the mesh (again, now with UV coordinates)
27:33 [Rhino] Visualizing the mesh in Rhino
29:29 [Unreal Engine] Creating a new project in Unreal Engine
30:46 [Unreal Engine] Importing the mesh
32:28 [Unreal Engine] Creating a material and importing the baked texture
34:54 [Unreal Engine] Adding Ultra Dynamic Sky
37:42 [Unreal Engine] Adding a CineCamera actor
39:44 [Unreal Engine] Adding a Level Sequence
45:57 [Unreal Engine] Adding Depth of Field by adjusting the camera's aperture and focal point
50:09 [Unreal Engine] Activating Movie Render Queue and test rendering one frame
55:10 [Unreal Engine] Final rendering
57:11 [Unreal Engine] Resulting animation
.........................................
Links to free software:
www.blender.org/download/lts/ (Blender 3.6)
renderdoc.org/builds (RenderDoc 1.25)
github.com/eliemichel/MapsMod... (Maps Models Importer v0.6.2)
www.meshlab.net/#download
www.unrealengine.com/en-US/do...
Links to paid software:
www.rhino3d.com/download/
www.unrealengine.com/marketpl...
Link to previous tutorial (covering pitfalls and backtrackings):
• Tutorial - How to expo...
.........................................
Copy and paste these two lines into a command prompt and execute to start Chrome in injection-compatible mode - if you intend to use the 32-bit Chrome application instead of the 64-bit one, change 'Program Files\' to 'Program Files (x86)\':
set RENDERDOC_HOOK_EGL=0
"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-gpu-sandbox --gpu-startup-dialog
.........................................
Python script to remove all material slots for selected object(s) in Blender:
"""(Copy and paste the below script in full, from and including the first line, to and including the final line, and press ENTER twice after pasting.)"""
import bpy
for ob in bpy.context.selected_editable_objects:
ob.active_material_index = 0
for i in range(len(ob.material_slots)):
bpy.ops.object.material_slot_remove({'object': ob})
"""(End of script.)"""
.........................................
Note:
The extrusion amount, set to 1 mm in the tutorial, was unnecessarily generous; 0.2 mm might have been a better value.
.........................................
This tutorial demonstrates to KTH Architecture students how to extract photogrammetry meshes from Google Maps - for reference - and import it in Blender, Rhino, Unreal Engine 5.
The operating system used for this tutorial is Windows 10. Running another operating system (e.g. Linux, MacOS) might amount to a different user experience or software incompatibility.
If you want to check in which computer room(s) any relevant software might be installed in - CADLAB, DFL, and ARCPLAN are in the KTH School of Architecture building - please check the following link for current status:
www.kth.se/en/student/it/camp...
Disclaimer:
This tutorial aims to increase student awareness of the versatility of the digital tools available for use within the context of the architectural education offered by KTH. As such, it might not be generally applicable, but on the other hand, if at least one architecture student is helped by it in fulfilling deliverables requirements, the purpose of this tutorial is satisfactorily achieved. There might be inaccuracies in this tutorial video - if you identify any significant one, please tell us in the comments.

Пікірлер: 71

  • @fabaogc
    @fabaogcАй бұрын

    I had a similar experience, crashing when using Parameterization > Trivial Per triangle. The crash went away if I first used "Remove Zero Area Faces".

  • @SanningArkitekter

    @SanningArkitekter

    Ай бұрын

    That is a wonderful contribution of troubleshooting! Thank you very much - we hope that anyone else who has this crashing behaviour will be helped by your comment! Best wishes /Sofia & Alexander

  • @ClydeJacobsen

    @ClydeJacobsen

    3 күн бұрын

    thank you!

  • @simuu.677
    @simuu.6773 ай бұрын

    Right on time, just saw your first tutorial to this and now the updated version is here. Again, a very nice tutorial!

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    Thank you very much for your encouraging words! Best of luck to you! /S&A

  • @iancamarillo
    @iancamarillo5 күн бұрын

    really appreciate this tut

  • @SanningArkitekter

    @SanningArkitekter

    5 күн бұрын

    Thank you, Ian! We are very glad it is of help to you :) /S&A

  • @studiofx2005
    @studiofx20053 ай бұрын

    Works. Giant thanx!

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    Thank you very much for your kind words :) /S&A

  • @F1WestCoast
    @F1WestCoast3 ай бұрын

    Loving these tutorials!!

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    Thank you for your kind words and encouragement! We also love making these tutorials - for a long time, we have allowed (quite reasonably one might say) other aspects of life (children, work) come inbetween, but now we have figured out a way to fit in a half a day or so during the weekends, which is a great joy for us - we hope to keep this in balance going forward :) Best wishes /Sofia & Alexander

  • @weeliano
    @weelianoАй бұрын

    There's a better way to remove the materials at 13:40, there's a addon called Material utilities in Blender that can be turned on, then right click on the object and choose "Material Utilities" then followed by "Clean Slots" and "Remove All Material Slots". Great video BTW!!!

  • @SanningArkitekter

    @SanningArkitekter

    Ай бұрын

    Thank you very much for your kind words, and for your tip how to make it even less cumbersome :) Best wishes /S&A

  • @sergeyrizen9113

    @sergeyrizen9113

    15 күн бұрын

    Thanks a lot. That helps

  • @wewyllenium
    @wewyllenium2 ай бұрын

    Thank You!!!!

  • @SanningArkitekter

    @SanningArkitekter

    2 ай бұрын

    We’re very happy that it helped you :) /S&A

  • @ClydeJacobsen
    @ClydeJacobsen2 күн бұрын

    Thank you so much for taking the time to put this tutorial together! Anyone else having issues baking the texture out? Tried with and without CUDA, model stays stubbornly black. increased the cage size and margin size...still no dice. Any advice please?

  • @SanningArkitekter

    @SanningArkitekter

    Күн бұрын

    Hello, Clyde! Thank you for your appreciative words! Regarding your problem with baking, we do not know specifically what could be the problem (for examples, the texture node to bake to must be disconnected during baking, and can be connected after baking, or the scaling of the objects might be off, which affects the baking setting, or any other problem). If your issues persist, and you want to try an alternative, other users have recommended using Lily’s Texture Packer instead of projection baking - it entails a small cost, but is easier to use and has much more reliable results. Thus we can indirectly recommend it. Best wishes /Sofia & Alexander

  • @ClydeJacobsen

    @ClydeJacobsen

    Күн бұрын

    @@SanningArkitekter thank you for the reply

  • @studiofx2005
    @studiofx20053 ай бұрын

    Thanx, mates! I just tried the first one aaaaaand failed. Was desperate. And luckily saw you have a fresh vid. Trying it now

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    Yes, for some time the previous version of RenderDoc has not worked with Google Maps - but we finally managed to direct some time into creating an update :) Glad that you personally did not have to wait for years for an update :) Best wishes /Sofia & Alexander

  • @studiofx2005

    @studiofx2005

    3 ай бұрын

    @@SanningArkitekter I've just managed to 3D track a shot using Niagara falls photogrammetry. This RenderDoc thing of yours is something. KUDOS!

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    Great to hear! All kudos to Baldur Karlsson, Élie Michel, and all of the software teams - it’s really great what one may achieve on the shoulders of giants :) /S&A

  • @lyovazi8533
    @lyovazi85333 ай бұрын

    amazing

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    Thank you for your kind word! /S&A

  • @HalValla01
    @HalValla013 ай бұрын

    En million tack!!

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    Vi är mycket glada att det hjälpte dig :) /S&A

  • @cristianmaticiuc360
    @cristianmaticiuc3602 ай бұрын

    Hello, thx for this amazing tutorial! I have a problem when i use cmd prompt to open the google page the box doesn't appear. Any suggestions?

  • @SanningArkitekter

    @SanningArkitekter

    2 ай бұрын

    Thank you for your kind words! Regarding the issue with the GPU Process ID dialogue box not appearing, we have encountered such an issue when we have forgotten to close down/exit all previously running instances of Google Chrome - for the command prompt command to work, there must be no running instances of Google Chrome before running it. Does this description of the problem match your experience of it? Best wishes /Sofia & Alexander

  • @johnarnold7460
    @johnarnold74602 ай бұрын

    Got it to work BUT when I saved the 'image' displayed in Renderdoc (which is from an area of perhaps 1 square mile or kilometer_ and load the save rdc into Blender all I get is what appears to be one particular building not the whole area I see displayed in Render doc. Any ideas?

  • @SanningArkitekter

    @SanningArkitekter

    2 ай бұрын

    Did you make sure to set the Max Blocks parameter (when importing to Blender) to -1? Also, if you use Blender 4.0, the import will not work in the manner you describe (only one block will be imported), so make sure you use 3.4 or earlier. Best wishes /S&A

  • @alexbucc
    @alexbuccАй бұрын

    Hi I’m having problems with MeshLab, when I try to apply Parametrization: Trivial Per-Triangle it just crashes to desktop.

  • @SanningArkitekter

    @SanningArkitekter

    Ай бұрын

    Hello, Alex! Regarding your problem with MeshLab, other users have recommended using Lily’s Texture Packer instead - it entails a small cost, but is easier to use and does not strain the computer as much. Thus we can indirectly recommend it. Otherwise we would suggest to test with a smaller part first, verifying if the problem is only a processing problem or with the workflow itself. Best wishes /Sofia & Alexander

  • @DanielKhuat
    @DanielKhuat2 ай бұрын

    Does this work with Google 3D tiles extracted from Blosm? I tried this and Meshlab kept crashing trying to change the triangles

  • @SanningArkitekter

    @SanningArkitekter

    2 ай бұрын

    Hello, Daniel! We actually don’t know that, as we do not yet have experience with Blosm, and are no more than indirectly acquainted to the workflow. Regarding your problem with MeshLab, other users have recommended using Lily’s Texture Packer instead - it entails a small cost, but is easier to use and does not strain the computer as much. Thus we can indirectly recommend it. Otherwise we would suggest to test with a smaller part first, verifying if the problem is only a processing problem or with the workflow itself. Best wishes /Sofia & Alexander

  • @johnarnold7460
    @johnarnold74602 ай бұрын

    I cannot get this to work as when I click on (PID) OK and the Chrome screen opens it displays "You are using unsupported command line flag - disable-gpu-sandbox. I cut and paste the (CMD) command from your instruction and so it hasn't been entered incorrectly. Also the RenderDoc screen displays API D3D11 NOT PRESENTING. I have gone over everything in the tutorials and have matched every step exactly. I have Renderdoc v1.25 installed.

  • @SanningArkitekter

    @SanningArkitekter

    2 ай бұрын

    Great to hear that you got it working /S&A

  • @Josh-du9dx
    @Josh-du9dxАй бұрын

    Hi I am desperate, what do you do if Vulkan not transmitting error comes up

  • @SanningArkitekter

    @SanningArkitekter

    Ай бұрын

    Hello, Josh! We are sorry that we cannot be of any significant help - we searched on Google for your issue, but could not find anything directly related to Google Maps and RenderDoc. If you have already made positively sure that you are using the RenderDoc 1.25 version, then perhaps trying to use the same workflow in Google Earth instead of Google Maps might be a semi-viable way forward. If you do solve your issue, please let us know how you solved it. Best wishes /Sofia & Alexander

  • @zoronoro5569
    @zoronoro5569Ай бұрын

    When i wanr to inject after that i click ok on the another tap but it show anothet number and it will not work!

  • @SanningArkitekter

    @SanningArkitekter

    Ай бұрын

    Hello! Have you made positively sure that you are using RenderDoc 1.25? We understand that you are having problem with injecting into the process, but sadly we do not know how to specifically solve your problem. If you find a solution, please tell us here how you solved it. Best wishes /S&A

  • @zoronoro5569

    @zoronoro5569

    Ай бұрын

    @@SanningArkitekter i found the solution after download the right version of all fils you have to write the full code in the cmd i just copy a piece of that's why it wont work perfecly

  • @SanningArkitekter

    @SanningArkitekter

    29 күн бұрын

    Ah, great to hear that you got it working! Best wishes /S&A

  • @danielode1666
    @danielode16662 ай бұрын

    why do we need to pan map during screenshot making?

  • @SanningArkitekter

    @SanningArkitekter

    Ай бұрын

    It is not strictly necessary to pan the map, but RenderDoc captures the frame when it is being rendered, and to our experience, if the map is static, the captured frame might be much smaller than intended if the map is ”kept active”, as an example, by panning. For us (especially with the old version of 1.13 of RenderDoc) it consistently has worked much better for us - you are very welcome to experiment :) /S&A

  • @demontiger974
    @demontiger9749 күн бұрын

    My rhino texture mapping doesn’t align with the image. Does anyone know what the issue is?

  • @SanningArkitekter

    @SanningArkitekter

    9 күн бұрын

    Hello! Did you properly unwrap the mesh (assign UV coordinates to all vertices by placing the mesh face islands in a UV 0-1 space) with MeshLab or Blender or another 3D mesh software before projecting the texture in Blender? And when exporting the unwrapped mesh from Blender, did you make sure to include UV coordinates in the export settings? Best wishes /S&A

  • @kris4714
    @kris4714Ай бұрын

    When I inject the pid and confirm an other one pop up, and so on.

  • @SanningArkitekter

    @SanningArkitekter

    Ай бұрын

    Hello, Kris! Just making sure, are you using RenderDoc 1.25 (the one version compatible woth Maps Models Importer 0.6.2)? /S&A

  • @zoronoro5569

    @zoronoro5569

    Ай бұрын

    You have to copy ful code for the cmd!! Otherwise it will not work

  • @abdullahtahseen602
    @abdullahtahseen602Ай бұрын

    When I use the Script, I get this error message: Traceback (most recent call last): File "", line 4, in File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 106, in __call__ C_exec, C_undo = _BPyOpsSubModOp._parse_args(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 60, in _parse_args raise ValueError("1-2 args execution context is supported") ValueError: 1-2 args execution context is supported

  • @SanningArkitekter

    @SanningArkitekter

    Ай бұрын

    Hello, Abdullah! It is mentioned in the tutorial, but not very clearly, that with the specific version of MapsModelsImporter that is used, we have only gotten it to work with Blender versions 3.4 - 3.6, and not with 4.0 or later (you are using 4.1). So we recommend for using this workflow, to also download and install Blender 3.6 (it will be installed in a separate directory and not conflict with your 4.1 installation). The link is this one: www.blender.org/download/releases/3-6/ Best wishes /Sofia & Alexander

  • @GuitarCaendu
    @GuitarCaendu3 ай бұрын

    is there any way to do this with a mac? :(

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    Sadly, RenderDoc is only available for Windows and Linux, so the answer is as of today (240306) currently no. :( /S&A

  • @djohnworthy1040
    @djohnworthy10403 ай бұрын

    I can’t move the cursor like yours man. It does not rotate or I cannot get an angle

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    If you hold SHIFT on the keyboard, you should be able to - this was never made explicit. We hope that it works for you /S&A

  • @djohnworthy1040

    @djohnworthy1040

    3 ай бұрын

    Sadly this does not work in Turkey.@@SanningArkitekter

  • @SanningArkitekter

    @SanningArkitekter

    3 ай бұрын

    @@djohnworthy1040 We see - with Istanbul as a test, we can confirm that there seems to be no photogrammetry data for Turkey yet. When/if it is added to Google Maps, it will be able to be extracted. Best wishes to you /S&A

  • @Artrich2020gbtg
    @Artrich2020gbtg9 күн бұрын

    I keep getting a black box. What am I doing wrong?

  • @SanningArkitekter

    @SanningArkitekter

    9 күн бұрын

    Hello! During which stage are you getting a black box? Best wishes /S&A

  • @Artrich2020gbtg

    @Artrich2020gbtg

    8 күн бұрын

    When I tell it to capture the image.

  • @SanningArkitekter

    @SanningArkitekter

    8 күн бұрын

    Have you tried both using the Capture after Delay and panning the viewport, as in the tutorial, and alternatively using Capture Immediately? And have you tried capturing another area, just to make sure that it is not the specific area that you are trying to capture that is problematic in itself? /S&A

  • @TotallynotKay07301
    @TotallynotKay0730117 күн бұрын

    does not work chrome opens as normal

  • @SanningArkitekter

    @SanningArkitekter

    17 күн бұрын

    Hello, Kay! Just to verify - if you copy and paste these two lines into a command prompt and execute, does it not start Chrome in injection-compatible mode (with a prompt window)? (If you use the 32-bit Chrome application instead of the 64-bit one, change 'Program Files\' to 'Program Files (x86)\') Command prompt commands: set RENDERDOC_HOOK_EGL=0 "C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-gpu-sandbox --gpu-startup-dialog

  • @TotallynotKay07301

    @TotallynotKay07301

    16 күн бұрын

    @@SanningArkitekter nope does not work either the command opens chrome normally

  • @TotallynotKay07301

    @TotallynotKay07301

    16 күн бұрын

    it does not open up a prompt window with a code and chrome does not have a white screen

  • @SanningArkitekter

    @SanningArkitekter

    16 күн бұрын

    @@TotallynotKay07301 Hello again, Kay! Now we've had the time to try to replicate the issue. Sadly, everything works perfectly well for us on our part (with the two commands entered into Command prompt, Google Chrome starts with the prompt window and white screen, enabling the opportunity to inject into the process). Although we did not succeed in replicating your issue, we enter below some information about our setup, and if you have any differences, it might be the reason why it does not work (since it does work for us): Windows 10 22H2 RenderDoc 1.25 Chrome 124.0.6367.210 (we also updated to the latest version, 125.0.6422.77, and that did also work for us) We hope that you manage to find what is making it not work for you. Best wishes, Sofia & Alexander

  • @TotallynotKay07301

    @TotallynotKay07301

    16 күн бұрын

    @@SanningArkitekter im on windows 11