Blender ‐ create single 3d model from gmaps - temporarily-permanent/open-toren-dag GitHub Wiki

1. install

2. make Gchrome shortcut to desktop

  • open properties of shortcut and change target to 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"
  • make sure path points to Gchrome

3. use renderdoc to capture gmaps

  • open renderdoc > ignore update popup > File > inject Into Process
  • open Gchrome shortcut > DO NOT click ok > remember PID > goto renderdoc > refresh and find PID > Inject
  • back to Gchrome > now click ok > Gmaps and find POI > layers > more > check Wereldbolweergave

checkpoint - you should now have;

  • a chrome instance with Gmaps open, the window has opaque debug text rendered on top of browser content, at the top.

  • a tab in renderdoc containing Status, Tools and Captures.

  • set Capture After Delay Timer > start the timer > make sure you are moving the Gmaps window during the capture

  • select and save the capture

setup blender

  • open blender > Edit > preferences > Add-ons > Install > MapsModelImporter.zip (don't unzip) > Install Add-on > find MMI (Import-Export: Maps Models Importer) and enable plugin

convert capture to model in blender

  • open blender > file > import > Google Maps Capture (.rdc) > select capture from earlier > wait
  • Hi welcome Back, my old friend, how have you been > press F3 > select france (we don't need france) > goto outliner > right click > DELETE HIERARCY

mesh cleanup

  • goto mesh cleanup script and copy text > goto blender > window > Toggle System Console > arrange window layout > Scripting > new > ctrl + v > read script and inspect settings > select collection in outliner > press play, go make coffee, pray to god and hope your system can handle this