eliemichel / MapsModelsImporter

A Blender add-on to import models from google maps
https://blog.exppad.com/article/importing-actual-3d-models-from-google-maps
GNU General Public License v3.0
2.43k stars 300 forks source link

can't create maps model #107

Open cuiguangheng opened 3 years ago

cuiguangheng commented 3 years ago

If you are having trouble importing a .rdc file with this add-on, please provide the following information:

I had try couple times completely every step as you video teach, but it still doesn't work . Warming message show as below. **Invalid RDC capture file. Please make sure that:

  1. You are importing from Google Maps (NOT Google Earth)
  2. You were MOVING in the 3D view while taking the capture (you can use the Capture after delay button in RenderDoc). Please report to MapsModelsImporter developers providing the .rdc file as well as the full console log. Console log is accessible in Windows > Toggle System Console (right click to copy).**
chamber144 commented 3 years ago

I'm getting the same error Message. To see if it's the same problem can you do the following steps?

Is there a message like: "ImportError: DLL Load failed:[...]"?

cuiguangheng commented 3 years ago

I'm having the same issue. To see if it's the same problem can you do the following steps?

  • turn on Debug Info [Edit/preferences.../Add-ons/Import-Export: Maps Models Importer --> Checkbox "Debug Info" at the bottom]
  • try to load a rdc file
  • go to the System Console [Window/Toggle System Console]

Is there a message like: "ImportError: DLL Load failed:[...]"?

Mate , do you have any idea about this issue?

Read prefs: C:\Users\cuigu\AppData\Roaming\Blender Foundation\Blender\2.83\config\userpref.blend found bundled python: D:\software\blender\2.83\python DEBUG:BlenderGIS-master.core.checkdeps:GDAL Python binding unavailable DEBUG:BlenderGIS-master.core.checkdeps:PyProj unavailable DEBUG:BlenderGIS-master.core.checkdeps:Pillow unavailable DEBUG:BlenderGIS-master.core.checkdeps:ImageIO Freeimage plugin available google_maps_rd failed and returned: Loading capture from D:\software\blender\Blender GIS cache\why1.rdc... Couldn't open file: ReplayStatus.FileIncompatibleVersion Traceback (most recent call last): File "C:\Users\cuigu\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 260, in main(controller) File "C:\Users\cuigu\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 252, in main scraper.run() File "C:\Users\cuigu\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 182, in run drawcalls = controller.GetDrawcalls() AttributeError: 'NoneType' object has no attribute 'GetDrawcalls'

chamber144 commented 3 years ago

Mate , do you have any idea about this issue? No, not yet. But let's see what else we can do.

I would try to download a sample capture file as described on blenderartist.org. This way you can check if it's about your rdc file or if the addon itself does something wrong.

Let us know if you could load the sample capture file. And if you get different error messages in the system console then the above ones then please post it again here.

cuiguangheng commented 3 years ago

My friend, I use the sample but still make no changes in blender, error report as below.

Read prefs: C:\Users\cuigu\AppData\Roaming\Blender Foundation\Blender\2.83\config\userpref.blend found bundled python: D:\software\blender\2.83\python DEBUG:BlenderGIS-master.core.checkdeps:GDAL Python binding unavailable DEBUG:BlenderGIS-master.core.checkdeps:PyProj unavailable DEBUG:BlenderGIS-master.core.checkdeps:Pillow unavailable DEBUG:BlenderGIS-master.core.checkdeps:ImageIO Freeimage plugin available

chamber144 commented 3 years ago

Is Debug Info still turned on? Because now there are no errors. The lines with BlenderGIS are from another Addon. I don't know what the sample capture contains, but at least the Addon doesn't run into a error.

cuiguangheng commented 3 years ago

Sorry, I capture the wrong message . Console log did not mention anything , but the error still show like this.

Invalid RDC capture file. Please make sure that:

  1. You are importing from Google Maps (NOT Google Earth)
  2. You were MOVING in the 3D view while taking the capture (you can use the Capture after delay button in RenderDoc). Please report to MapsModelsImporter developers providing the .rdc file as well as the full console log. Console log is accessible in Windows > Toggle System Console (right click to copy). image
chamber144 commented 3 years ago

Sorry, I capture the wrong message . Console log did not mention anything , but the error still show like this.

All ok, it was the console log I was looking for. And it does not mention any crash. So it's different with the sample capture. I looked at your 111.rdc and it seems to me like there is no 3D Data. That's probably why the addon crashes with additional error messages in the console. If you load the sample capture.rdc into RenderDoc it looks different than your file. I'm just guessing, but it might need a "target+depth" entry and the drawElements entries should have bigger numbers... Screenshot 2020-11-09 104834

So first: Your RDC is not valid. (Addon crashes with a "Couldn't open file: ReplayStatus.FileIncompatibleVersion" in the console) Second: Even the sample capture.rdc does not work for some reason (but it does not crash the addon, it just terminates with the same error message (altough it's a different error)).

At this moment I have no idea why the sample capture does not load. But I suggest you continue experimenting with the sample capture to make sure the error is not about the rdc file.

cuiguangheng commented 3 years ago

Thanks a lot, I'm gonna to switch to another computer to make a try , let's keep in touch and see what would happen. Again , thanks a lot for you kindness help.

eliemichel commented 3 years ago

(Thanks @jokumo for handling this issue :) )

chamber144 commented 3 years ago

@cuiguangheng hey, does it work now? I realised that it's unclear what version of RenderDoc was used to capture the sample capture. I made two captures for myself, it might be useful. Remember that AddOn Version 0.3.3 needs RenderDoc 1.10 and Version 0.3.2 and below needs RenderDoc 1.5-1.9 bridge (RD1.9).rdc bridge (RD1.10).rdc

In my case I could make it run with Blender 2.83 and MapsModelsImporter 0.3.2 or 0.3.1 If it works it will need some time to load the capture. Blender might get unresponsive, this is normal.

cuiguangheng commented 3 years ago

I'm so sorry about that I haven't take a try yet. Since I'm so busy of my job , I forgot about this . I would try it later and I will let you know dose I can work or not. Again , thanks a lot ,mate.@jokumo

cuiguangheng commented 3 years ago

@jokumo My Friend , I had try the file you shared to me . The file bridge(RD1.9) works ,it can import to my Blender. But things are weird , my Blender add-on and RenderDoc's version exactly the same as you told me . My Blender version is 2.83 .

File bridge (RD1.9) succeed import to my Blender 1 9 Add-on & renderdoc version screenshot addon RenderDoc

eliemichel commented 3 years ago

I assume this means the whole issue is fixed, right?

cuiguangheng commented 3 years ago

I assume this means the whole issue is fixed, right?

Sorry, I have no idea why the conversation is closed, but the issue isn’t be fixed yet.

chamber144 commented 3 years ago

@cuiguangheng The question is: What exactly is the issue.

eliemichel commented 3 years ago

@cuiguangheng ok sorry, reopenning, but so I am a bit confused about what the current state of your problem is. Could you elaborate?

chamber144 commented 3 years ago

@cuiguangheng any update on this Issue? Does it still exist with the current version of MapsModelsImporter and a Sample File?

Please remember that RDC-Files and RenderDoc of Version 1.11 and 1.12 do not work with the current version (0.3.5). You need to use sample Files <=1.10.

Would be nice to give us an update to see if we can close this Issue.