Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Mar 24, 2020
2 parents a295fb8 + 0a1ff27 commit 688ed02
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,20 @@ This was a common issue with versions of this add-on prior to v0.2.0. Update to

### Chrome is showing a warning about an unsupported feature

If this is about the `--disable-gpu-sandbox` flag, it is just a warning, it should not be a problem.
If chrome says something like "Unsupported command line, security will suffer", don't mind. This is due to the `--disable-gpu-sandbox` flag, but it is just a warning, it should not be a problem for what we are doing.

### Chrome window is all plain black

Try to set and unset the fullscreen mode using F11.

### There is no GPU pop-up

Make sure you use the right custom shortcut to start chrome and that you closed any process chrome process before starting.

### PrintScr does not actually take a capture

It happens sometimes, in this case you can use the "Capture after delay" button in RenderDoc to trigger a capture. Don't forget to make sure to move in the 3D viewport at the very time the capture occurs.

### How to increase the level of detail?

If you want better quality captures, you should know that Google Maps loads LoDs (Levels of Details) in relation with the window size of your web browser. There is several way to increase it:
Expand All @@ -105,6 +113,10 @@ If you want better quality captures, you should know that Google Maps loads LoDs

But while doing so you also increase dramatically the number of block. Be aware of the fact that by default the MapsModelsImporter add-on limits to 200 blocks to prevent from freezing for too long. You can change this number on import.

### It's taking too long, how to automate this process?

Although I don't know how to automate the capture itself, you can easily automate the importing part, see [this issue](https://github.com/eliemichel/MapsModelsImporter/issues/39) for an example of automation script.

Disclaimer
----------

Expand Down
2 changes: 2 additions & 0 deletions blender/MapsModelsImporter/google_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,12 @@ def filesToBlender(context, prefix, max_blocks=200, globalScale=1.0/256.0):
drawcallId += 1

# Save reference matrix
"""
if refMatrix:
values = sum([list(v) for v in refMatrix], [])
context.scene.maps_models_importer_ref_matrix = values
context.scene.maps_models_importer_is_ref_matrix_valid = True
"""

# -----------------------------------------------------------------------------

Expand Down

0 comments on commit 688ed02

Please sign in to comment.