8000 GitHub - Vinc3r/MapsModelsImporter: A Blender add-on to import models from google maps
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Vinc3r/MapsModelsImporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maps Models Importer

Maps Models Importer is a set of tools for importint 3D models from wide maps in 3D content softwares. This is a proof of concept containing only a Blender add-on for importing 3D models from Google Maps.

The blender directory contains the source code of the Blender add-on importing captures recorded with RenderDoc:

Screenshot of blender addon in action

NB This is an add-on for Blender 2.80 and above, which you can download from here.

Installation

Download a release and make a zip of blender/MapsModelsImporter/. In Blender, go to Edit > Preferences, Add-on, Install, then browse to the zip file.

Usage

  1. Start RenderDoc, and File > Inject into process;

  2. Start chrome or chromium using specific flags: chrome.exe --disable-gpu-sandbox --gpu-startup-dialog --use-angle=gl. Do NOT press Ok on the dialog box yet;

  3. In RenderDoc, search for the chrome process and inject into it;

  4. Press OK in the chrome dialog;

  5. Go to Google Maps in satellite view, and take a capture using Print Screen while moving in the viewport;

  6. In RenderDoc, save the capture as an rdc file

  7. In Blender, go to File > Import > Google Maps Capture an choose your capture file.

If you feel lost, I made a quick walkthrough of the addon: https://youtu.be/X6Q7dbtXVZQ

Troubleshooting

Linux

Unfortunately, the inject into process functionality of RenderDoc is not supported on linux. You can still import existing captures on linux, though.

Missing blocks

Importer settings

By default, the addon limits to 200 blocks, but if you feel ready to let your Blender hang for a moment, you can increase it.

Disclaimer

This is a proof of concept showcasing how the 3D render process of Google Maps can be inspected. This is intended for educational purpose only. For a more in-depth analysis, see Importing Actual 3D Models From Google Maps.

Do not use this for any commercial nor redistribution purpose. Actually, the use of such tool might be allowed for private read-only use, as this is what happens when browsing Google Maps, but not beyond. I do not take responsibility for any use of this tool.

Help Wanted

This repository does not provide the required RenderDoc binaries for linux nor for OSX. If you have such a system, build RenderDoc against Python 3.7.0 (the minor version matters) to be compatible with the version of Blender's Python distribution.

Other links

To import map data in Blender, this open source addon is very handy: domlysz/BlenderGIS

Here is another attempt at reverse-engineering Google data: retroplasma/earth-reverse-engineering

About

A Blender add-on to import models from google maps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%
0