Thursday, March 27, 2014

Export FROM Google Earth - Google Groups

I have GOT to try this!  Old thread- cool idea...

Export FROM Google Earth - Google Groups:

Actually, you can grab the buildings, along with the terrain that appears in Google Earth. It's a little tricky, but nothing requiring rocket science. This particular technique only works, as far as I know, with a PC, and you will need the applications GLIntercept and OGLE:

What you do with these programs is literally to intercept the OpenGL instructions to your video card from Google Earth, and then convert them to a standard mesh. Obviously, for this to work you have to have Google Earth running in OpenGL mode, not DirectX. Also, as noted in the OGLE instructions:

"Some applications do not seem to want to function (i.e. they crash!) with GLIntercept if the real OpenGL32.dll is in the system location. If you are having wierd problems, try the following:

1. Copy the sytem dll (most likely C:\WINDOWS\system32\opengl32.dll) to your app's directory (name it opengl32.orig.dll or some such)
2. Set GLSystemLib = "opengl32.orig.dll"; in your gliConfig.ini file."

Google Earth is one of the applications that require that procedure; if you don't copy the system dll into the GE directory, GE will simply not work at all (if you have placed the GLIntercept files in the GE directory). Follow this and the other directions with GLintercept and OGLE very carefully. The end result will be an .obj file that includes what was visible in your screen in GE, along with some odd artifacts. To get this file into SketchUp, you'll have to translate the .obj into something SU opens. Some modelers seem to have difficulty with .obj files created by OGLE, notably 3DS Max. But I have been able to open them just fine with Rhino (and re-export them as .dwg files to SU), and you might try any of the various free translators floating around on the web.

Several things to consider: first, when you intercept OpenGL from GE, you should be looking straight down onto the GE location you want, otherwise your resultant model will not be aligned to the real z-axis. Also, the intercepted model will not have any scale related to real world distances. The way I get around this is to place in Google Earth, prior to using OGLE, a cube of known dimensions (like 100' x 100' x 100') somewhere close to the area I want to capture. When I finally get my captured mesh file into SketchUp, I use that cube to reset the model's scale to reality.

I've attached a .jpg of Boston from GE (note my red 100' cube in the foreground), and a rendering of the cleaned-up SketchUp model of the same area I made using Google Earth and OGLE (and Rhino, to translate the .obj file). The texture on the harbor is a copy of the texture SketchUp imported directly from the same Google Earth location.

I have seen quite a few digital models of Manhattan that were obviously extracted from Google Earth using just this technique. It is probably worth considering Google Earth's licensing restrictions and Google & friends' copyrights before you use a model of a city pulled from Google Earth for any professional purposes.

Attachments (2)
128 KB   View   Download
78 KB   View   Download

'via Blog this'

No comments:

Post a Comment