Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing RDC from Google Earth (partially) fails #151

Closed
chamber144 opened this issue Feb 23, 2021 · 13 comments
Closed

Importing RDC from Google Earth (partially) fails #151

chamber144 opened this issue Feb 23, 2021 · 13 comments

Comments

@chamber144
Copy link
Contributor

chamber144 commented Feb 23, 2021

I am attempting to import through Google Earth Web (via chrome browser).
[...]
I am able to import various test file such as Funkhaus.rdc without issue.
[...]
UPDATE: Confirmed google maps works fine. Google Earth Web appears to be busted.
Google Earth Web RDC files do not import at all on Win 10 64bit, RenderDoc 1.10, MapsModelImporter 3.5 rc2 (latest), and Blender 2.82.

Originally posted by @polygonfuture in #146 (comment)

The capture definitely contains 3D information. I see it in the list of data captured.
Would you be able to verify a working google earth capture on your end and push the rdc to your repo of samples?

Originally posted by @polygonfuture in #146 (comment)

@chamber144
Copy link
Contributor Author

chamber144 commented Feb 23, 2021

I just tried it and I can confirm that on my computer it's not working exactly as expected. I used RenderDoc 1.10 with Blender 2.91.2 and MapsModelsImporter 0.3.5_rc2.

I made 8 captures in two runs, first run with 3 captures and second run with 5 captures.
Two of them can be imported without getting an error, but one of them has data a little bit offset to what I was looking at, the other has a very huge area around it included. The others fail during the import process rather than failing immediately. Some of them import some polygons and fail, others fail before importing anything (but they are processing data before failing). Some of them do contain parts of the whole Globe/Earth, so what I actually tried to capture is so tiny that it's really hard to locate.

My conclusion is that there are two things happening with captures of Google Earth:

  • The captures from Google Earth contain way more data outside of the viewed objects. I think this is due to the way Google Earth works and there might not be a fix for it since RenderDoc just makes a snapshot of what it can find in the memory/ram.
  • The captured RDC-Files made with Google Earth contains data that breaks the import function at an unexpected point (AddOn 0.3.5).

@polygonfuture If it works with rdc-files made with Google Maps I would suggest do it that way for the moment.
Do you see any advantages in using Google Earth instead of Google Maps? Do I miss something?

@eliemichel
Copy link
Owner

Could one of you share one of these faulty captures?

@polygonfuture
Copy link

Hi there,

Sure here is a capture that errors. I couldnt zip it to the limited file size of 10mb so here's a google drive link:

https://drive.google.com/drive/folders/12hBQzABnzE7n0JaR1hpIt49Ek6xEZfp0?usp=sharing

@eliemichel
Copy link
Owner

Ok I might have found a more robust way to import from Earth, check this new version: https://github.com/eliemichel/MapsModelsImporter/releases/tag/v0.3.6

image

@polygonfuture
Copy link

Thank you so much @eliemichel I'll give it a try today and report back.

@chamber144
Copy link
Contributor Author

Ok I might have found a more robust way to import from Earth, check this new version: https://github.com/eliemichel/MapsModelsImporter/releases/tag/v0.3.6

@eliemichel Awesome work. I just checked it with a new installation of Blender 2.92 and Addon 0.3.6 and the RDC-Files I made last time (they did not import properly with 0.3.5). Now all of them do import properly.

There's one thing to mention maybe... all of the captures were buried under some big low resolution polygons. In order to see the high resolution polygons I had to delete the low resolution polygons first, which had several layers. This might confuse some users until they find out...

@polygonfuture How is it on your computer?

@chamber144
Copy link
Contributor Author

@eliemichel uuh, it seems like 0.3.6 only works for google earth. At least on my computer all the sample files cause an error. Take a look here.

@Sulekha02
Copy link

@eliemichel I used the latest release of MapsModelsImporte - v0.3.6
Still not able to import RDC from renderDoc
And not able to use your sample files.
Here is the console file.

console text from blender using sample file.txt

@chamber144
Copy link
Contributor Author

chamber144 commented Mar 29, 2021

@Sulekha02 On my end v0.3.6 only works for captures from Google Earth but it does not work for Google Maps. Unfortunately all the sample files don't work with 0.3.6 (at least on my pc)
Since you posted to the "RCD from Google Earth"-Thread I suppose you are trying to import from Google Earth, is this correct?
And did you also try with v0.3.5? (just to make sure)

@Sulekha02
Copy link

Sulekha02 commented Mar 30, 2021

@jokumo @eliemichel

Yes, I am trying to get google earth data. I have tried RDC file of google earth from RenderDoc v1.10 on add-on v 0.3.6.
Where can I get earlier versions of add-on to try?

Also, after reading earlier comments... what's the difference in google maps and google earth? Am I missing something?

@chamber144
Copy link
Contributor Author

@Sulekha02 To get an earlier Version you have to go to the releases page and scroll down.

Google Earth (earth.google.com)and Google Maps (maps.google.com)are two different products of Google. They have a slightly different approach on how they use 3D-Data hence what you capture with RenderDoc gives you different content of the resulting RDC-File. This Plugin was made for Google Maps and it works really good with Google Maps, expect the newest version 0.3.6, which seems to only work with Google Earth.

@Sulekha02
Copy link

Sulekha02 commented Mar 30, 2021

@jokumo Thank you.
Tried v0.3.5 and it is working for google maps.
This is great.

@eliemichel
Copy link
Owner

Sorry all, I fixed 0.3.6 eventually but to make things clearer to everybody I just made it a new release: v0.3.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants