Really great piece of script. Works perfectly. Been looking for something like this for a while. And there's this wonderful tutorial to go along with it... amazing! Thanks for all the effort that went into this. Keep up the great work! :D
THANKYOU! This is exactly what I was looking for. Can't wait for the 3D KML route paths tutorial. One small request/recommendation... It would be great if you could add a few extra minutes to the videos so you can slow down a little. Makes it easier for us newbie's to follow along
I can`t believe... I so love geomodeling and blender and GE but I never mind that it is possible to use them together, it`s awesome and great thank to you man !!!
That's an awesome tutorial! In addition: there is some ways to project shadows on ground without UV ( Shadow catcher for Cycles for example) and you can render with video using Compositor directly in Blender.
Your tutorial definitely takes GES to another and more interesting level. And I'll be sure to to watch your video on compositing in Blender (instead of After Effects)l - keep up the good work 👌
I got it to work after a while. It is important to note that if you paste the path in from your file browser, all of the slashes will be backwards for the Python script. You want forward slashes (/) not back slashes (\) Very cool piece!
This is a simple and effective tutorial! Looking forward to the more advanced tutorials. Also, can you do the compositing in Blender instead of AE? Thank you!
Hi, I have a few advanced videos coming out shortly. Additionally, we're also creating a video on compositing in Blender (instead of After Effects). Keep an eye out here or on our second tech channel: th-cam.com/channels/rgtHK87xevKQhn_BGs5g5w.html
What If You Have Mac Do You Need To Change More Than Line 9 And Line 20 ? And Also I Have More Than Picture 000 So Do I Choose The First Picture In That Folder Or The Last Picture
This seems like a very cool way to add markers and and points of interest to a travel map. As someone who hasn’t used Blender do you have basic tutorials on how to use it, or if I’m trying to use blender in the way demonstrated I should just follow your video. I really liked it
I have some videos on my Tech channel you may be interested in... Here is a new tool for creating route maps th-cam.com/video/J21nqXtFWKw/w-d-xo.html. Fell free to browse my other videos there also.
Finally - It Worked I named my Folder as your Script "D:/Local/Project/sydney/sydney/footage/sydney_000.jpeg" Name the Folder exactly the script it will work This was finally worked
The script seems to align the coordinate system within blender with the one of the earth. Is it possible to put the cs in blender at an angle of for example 45 degrees in relation to the earth’s cs? I really appreciate the work that went into the script, the tutorial and the fact that you are actively helping & troubleshooting in the comments. Props!
You could add a value to the _GES_WORLD object (i.e. 45 degrees) but it will then not properly align with the background images. I'd recommend changing the values in Earth studio then import into blender.
Looks superb. After importing (without error) all I see in camera view is a cyan coloured 16:9 block where the image should be. Otherwise camera pans exactly as it does in earth studio. What am I doing wrong?
how do you do if you want to add a 3d figure in scale? For example want to add a 3d cube of 21.83m, in scale with the google earth import I added to Blender.
can you suggest any workflow how we can do the reverse --- that means a texture 3d mesh model can be placed in google earth, say statue of liberty mesh 3d with texture is made in blender and will be placed in google earth
The error that many are having with "Python script failed ..." is because it is necessary to have a camera on the scene for the script to generate the GES_WORLD file. Create any camera that should work.
PS. For the Shadow Catcher simply select the plane you wish to use to display the shadow, navigate to Object Properties, open the Visibility Options and select "Shadow Catcher" to activate it.
Thanks for the tutorial, but I couldn't make it happen. It keeps highlighting line 12 - cam.data.show_background_images = True. Red the comments and I'm 100% sure the names are correct, tried many times, many folders inclusinf the same names as the example, still didn't work.
Hello! I had a problem when rendering. When I look the track points in the viewport, they are in the right place, but when rendering and opening them on Davinci to compose, movement of the rendered object is wrong. I do not know if it could be something happening in the blender project. If you have any clue or know how to solve it, it would be great. Thank you!
The x,y, z coordinates of the target origin are not parallel and perpendicular respectively. Is there some way in the script to insure the x,y,z coordinates import correctly?
The script will "flatten" based on the first trackpoint (set at 0,0,0). The coordinates are based on globe (sphere) relationship and are perpendicular to the surface of the point. Feel free to play around with the code to find what works best for you.
Hey Keith - right now it's "hard coded" for 20 degrees. For other field of view, we could also use a formula. Feel free to play with the numbers if you're changing from the default fov.
@@imagiscope I see. The issue is, if you want to go from one city to another, as the camera ascends, it drastically changes the focal length, then as it comes down into the new city, as it gets low, you can actually see the effect of the changing of the focal length, reminiscent of some classic Hollywood shots... But, that info should be in the JSON file, so I can try getting from there.
@@キラキラくりくり頭 I've tested some long distance "city jumps" and I haven't experienced that issue. The GES data is scaled 1/100 to better work with Blender (it seems to distort at world scale). The trackpoints will curve around the earth surface starting at first trackpoint (0,0,0 rotation at 0,0,0 location) then all other camera and trackpoints are relative to start. Give it a test, let me know how it works.
Yes, I'll upload a video shortly. However, in compositing within Blender you can create an additional movie clip node and alpha mix it with the blender output.
@@imagiscope THATS GREAT - WHAT I DID 1ST ADDED THE IMAGE SEQUENCE OF EARTH 3D AND THEN THE ANIMATION SEQUENCE ON TOP OF IT IN VIDEO EDITING SECTION IT WORKED OUT .....
I can't seem to get the grids to appear when looking at the video, so it's hard for me to position my 3D objects... anyone know how I can display that Cartesian grid?
I can't for the life of me get this script to run. Do we have to save it to a certain place? I swear I choose the correct path where I saved it. Just.. cannot get passed it. Do we have to do exactly what you did in the video? same amount of camera points, etc.. all that?
I have a question, how can I extract data into Blender from Google Earth Pro? Not Web. Because Middle Eastern buildings only appear on PC version of Google Earth. In Web version there are only flat areas in the desert, nothing else. But I felt like I have to extract them for my project, really. So, if you have any knowledge, what's the way to extract those 3d Middle East buildings to Blender?
I'm not aware of a tool to extract from the pro version. Usually the imagery on the pro version is also represented on the web version, but there may be several cases where it is not ... There are several data sets (servers) that produce different "times" of data - it may be a case of waiting for other servers to update.
I'm running Windows 10, but the file directory uses backslashes instead of slashes, so I get an error when running the script. Is there a way around this? Thanks
Hi, I've got this working in some tests, but I keep getting this odd thing where the blender camera shakes as the footage plays, like the tracking data is messed up or something....
@@imagiscope you're awesome for replying :) The last time this happened I was a just focussed on one large school sized building. Could it be that I'm starting the renders looking up at the sky?
Im currently using Blender 2.90.1 and I keep getting the Python Script Failed. Im going to try the version of Blender you are using in the tutorial in hopes that would fix my issue
@@GameDevUE if you mean, is it ok to use Google Earth studio animation in film. It is, but you will need to follow the guidelines provided by Google. See their site for details.
Hi, I've got an error in line 53... Traceback (most recent call last): File "\Text", line 53, in KeyError: 'relative' Error: Python script failed, check the message in the system console Any idea what could be the problem?
I suspect you either have no track points or you may be using a local coordinate space when rendering the JSON file (should be Global). It may also be that you only have one track point - it should work with one, however, I usually add several so I may not have tested the code with just one. Let me know if that works for you.
Alright, does anyone else have an error in the line ''img = bpy.data.movieclips.load(ifiles)'' I made the two changes, filled in the path for my image file and JSON but somehow I get an error on this line, any idea? Thanks
What am I doing wrong? I always get this message(Python script failed,check the message in the system console). Nevertheless, thanks for the eloquent tutorial
@@imagiscope Probably is the syntax error because of the first command line which must be changed.That is what i get for the path in the propertys C:\Users\jimy 2\Documents\GES Ibiza\footage . Ibiza_000.jpeg is not a folder so the i have to added it manually,my end product will be jfilename = "C:\Users\jimy 2\Documents\GES Ibiza\footage\Ibiza_000.jpeg".It will not work,tried also with older versions of Blender and Linux, the same.
Thomas, there are some variables near the bottom of the code for camera settings. They are configured for the default camera but you could play with them to match your GES camera.
Hello... thanks for this video... and I have a strange problem for that. As you introduced, I used your script and loaded JSON data in Blender(2.82a). MY GES video includes 7 track points and it exists in blender as well. But... the problem is that when key frames goes, the track points are moving! not fixed as track points.... why it happens...??? do you know? hmmm.... so strange.. can you guess? In After Effects, the track points are working well(JSX file)... I reviewed in detail your script code, so I have two supposition for the error.. please let me know the solution. 1) in the end part of your script, there is "# camera "lens" based on 20 degree Filed of View (default value)" I changed the value of camera "lens" from 20 degree to 37 degree in my GES video. Is your script working only in 20 degree?? is it possible to use different degree by changing your code? 2) For this GES video, I am using 1320 X 1080 px. But... in the blender view, the loaded JSON video data looks having longer width. Could it be problem? Is this script only working in 1920 X 1080 px? I didn't find any code in your script related with resolution(px).
The "moving" is due to incorrect camera settings...they aren't moving, the perspective is off... 1) I haven't tried other field of views within Blender (only default). The figure of 34.8d with 35mm was a combination found via trial and error for 20 degrees from GES. You'll have to find the correct measurements if you are using a different setting. When you find the correct values, please share. 2) you should just be able to adjust the scene resolution and be set. I could also be added to the code if necessary as I believe the values are in the JSON file.
@@imagiscope Thanks for rapid reply... but even though I found appropriate combination, if I use different value of degree, I need to find new value again... but if there is no any calculating relationship between combination and degree, the usage of this function connecting GES and Blender is so limited... isn't it..?
If I were selling this solution, which I've provided for free, I certainly would want that value tied to a calculation. There is a calculation - perhaps in future updates I'll come across it or other will share their findings. I've yet to use the solution with other fov but when I do, I'll be sure to share.
Hello, after including the addresses of .jpg and .json, I execute the script and this error appears on line 142 - cam.parent = ges_parent. What should I do to fix it?
I like how Google over saturates the 3d photogrammetry like what's the point? is google earth's photogrammetry aimed at 5 year olds so they had to over saturate it
Really great piece of script. Works perfectly. Been looking for something like this for a while. And there's this wonderful tutorial to go along with it... amazing! Thanks for all the effort that went into this. Keep up the great work! :D
I Love The Video.
Thaaaaaank you!! You have no idea how much time I've spent trying (and failing) to do this.
THANKYOU! This is exactly what I was looking for.
Can't wait for the 3D KML route paths tutorial.
One small request/recommendation... It would be great if you could add a few extra minutes to the videos so you can slow down a little. Makes it easier for us newbie's to follow along
I can`t believe... I so love geomodeling and blender and GE but I never mind that it is possible to use them together, it`s awesome and great thank to you man !!!
That's an awesome tutorial!
In addition: there is some ways to project shadows on ground without UV ( Shadow catcher for Cycles for example) and you can render with video using Compositor directly in Blender.
how does compositing in blender work ?
Your tutorial definitely takes GES to another and more interesting level. And I'll be sure to to watch your video on compositing in Blender (instead of After Effects)l - keep up the good work 👌
When does the tutorial with the animated water and reflections come? I love your tutorials!
I got it to work after a while. It is important to note that if you paste the path in from your file browser, all of the slashes will be backwards for the Python script. You want forward slashes (/) not back slashes (\)
Very cool piece!
Thank you very much for the tip! I was stuck in this point!
Google earth studio & blender combination. Thats great animation.. thanks for tutorial.i am from Indonesia
Very, very cool.... Earth Studio gets better and better 👍🏻(and I learned a lot og Blender stuff too)
It works perfectly!!! Thank you so much for your time, for coding, and making such wonderfull videos!
You're welcome. We're working on a few more so keep an eye out for them.
That is Fing cool....the right vid at the right time!!!
Amazing ! Excellent ! Well done, and thank you for the experience you share. Great !!!
That's awesome! Can't wait for the next vids!!
This is breathtaking innovation. I love it.
This is fantastic. Great video. Lots of useful info. Kudos.
Many Thanks for such a wonderful tutorial, eagerly waiting for the next one
Thank you.. also with 0000 or 000 .. check " / or \ " in the path because it, unexpectedly has an effect
Correct. This is what causes 99% of errors. Check your path and file names.
A little complicated but very nice, thanks for sharing.
Longing to see the tuto to modelize the moving and reflecting water 🤩
Yeah, that does look awesome.
@@キラキラくりくり頭 Just animate displacement maps.
@@Wildart2 but then you have to mask all the ground and separately animate the layer "water" with displacement maps, that's it ?
Really great tutorial video. Thank you so much.
Always dope tech Tips, thx!
Great demo!
This is truly amazing.
This is a simple and effective tutorial! Looking forward to the more advanced tutorials. Also, can you do the compositing in Blender instead of AE? Thank you!
Hi, I have a few advanced videos coming out shortly. Additionally, we're also creating a video on compositing in Blender (instead of After Effects). Keep an eye out here or on our second tech channel: th-cam.com/channels/rgtHK87xevKQhn_BGs5g5w.html
@@imagiscope is it possible to make a normal video with Google earth? If yes, how?
What If You Have Mac Do You Need To Change More Than Line 9 And Line 20 ? And Also I Have More Than Picture 000 So Do I Choose The First Picture In That Folder Or The Last Picture
There have been updates. th-cam.com/video/CCU-nWA4q50/w-d-xo.html
@@imagiscope I Ended Up Resolving The Issue Thanks !
Thank you for the script.
Wow amazing!
This seems like a very cool way to add markers and and points of interest to a travel map. As someone who hasn’t used Blender do you have basic tutorials on how to use it, or if I’m trying to use blender in the way demonstrated I should just follow your video. I really liked it
I have some videos on my Tech channel you may be interested in... Here is a new tool for creating route maps th-cam.com/video/J21nqXtFWKw/w-d-xo.html. Fell free to browse my other videos there also.
Thank you for the wonderful tutorial. Do you know if It ok to use Earth Studio for the opening real estate videos?
There are some commerical limitations. Check the terms of service on the main earth studio page.
Great job
When Will You Be Creating Video Of How To Add Water And Reflection On Google Earth Studio
Very nice!!
Can you import the landscape or reality enviroment in google earth to Blender?
Very nice
This is dope
Fun video. Thanks
Hi can you give a tip to remove the black background and overlay in Earth video in blender?
I Love The Video.
I Love The Video.
Please make indept tutoriel that how to export file in blender with track point
For what purpose and what format?
Last last compositing step could have been done in Blender also. Not sure why it was done in After Effects.
Finally - It Worked I named my Folder as your Script "D:/Local/Project/sydney/sydney/footage/sydney_000.jpeg"
Name the Folder exactly the script it will work
This was finally worked
The script seems to align the coordinate system within blender with the one of the earth. Is it possible to put the cs in blender at an angle of for example 45 degrees in relation to the earth’s cs? I really appreciate the work that went into the script, the tutorial and the fact that you are actively helping & troubleshooting in the comments. Props!
You could add a value to the _GES_WORLD object (i.e. 45 degrees) but it will then not properly align with the background images. I'd recommend changing the values in Earth studio then import into blender.
Imagiscope Travel & Tech Is it possible to do the angle adjustment in earth studio? I can’t seem to find it.
Hey! When does the path animation Video release for Blender?
Thanks for your tutorials!
We're still working on the code. Once it finished we will release a video along with the script (free)
@@imagiscope thank you for your ambitious work :)
GREAT!
Thank you !! ;)
How does one get guaranteed access to GE Studio? I've requested but nothing yet.
Someone has to somehow put this into X-Plane-11.
I'll try
I am looking for the second part!
Just posted...
Looks superb. After importing (without error) all I see in camera view is a cyan coloured 16:9 block where the image should be. Otherwise camera pans exactly as it does in earth studio. What am I doing wrong?
Redid import and everything's okay - looks great
I love can't wait to get my hands dirty
Any update on realistic water reflections tutorial?
Sorry, been a little tied up. We have recorded it but it still needs to be edited. It's coming soon - sorry for the delay
how do you do if you want to add a 3d figure in scale? For example want to add a 3d cube of 21.83m, in scale with the google earth import I added to Blender.
The scale is 1:100. 21.83m would be 0.2183m
@@imagiscope Thanks a lot!! No I have my cube on scale. Thank you for answering and for your amazing tool for Blender.
can you suggest any workflow how we can do the reverse --- that means a texture 3d mesh model can be placed in google earth, say statue of liberty mesh 3d with texture is made in blender and will be placed in google earth
You can augment with models in a similar way. Check this video out on our other channel: th-cam.com/video/4gtpPkfXv7s/w-d-xo.html
The error that many are having with "Python script failed ..." is because it is necessary to have a camera on the scene for the script to generate the GES_WORLD file. Create any camera that should work.
NOP...
Hi Great video! but i get a error message at code 12? cam.data.show_background_images = True
Make sure your path is correct and the number of "0" are correct (000 or 0000)
PS. For the Shadow Catcher simply select the plane you wish to use to display the shadow, navigate to Object Properties, open the Visibility Options and select "Shadow Catcher" to activate it.
Haven't checked the latest version, is shadow catcher now available in eevee?
@@imagiscope Unfortunately not. I'm running 2.83 and still have to use a node based setup to achieve that
@@imagiscope But to be fair I still find myself using Cycles a good 70% of the time.
still waiting for second tutorial on advance techniques
Thanks for the tutorial, but I couldn't make it happen. It keeps highlighting line 12 - cam.data.show_background_images = True. Red the comments and I'm 100% sure the names are correct, tried many times, many folders inclusinf the same names as the example, still didn't work.
Hey I had the same issue but I added a camera and it worked.
Hi there, thanks for the video. Is there any way to import it in 3ds Max? Thanks
Maybe, I'm not familiar with 3DS Max scripting but it could follow this script as a template/guide.
i have error in line -11
img = bpy.data.movieclips.load (ifiles)
Check your path and 0000 or 000 for filename
Hi is this importing it as 3d models or more of 3d video?
Imported into Blender as rendered video from Google Earth studio.
You know that he knows what he's doing because he deleted the cube! =P
Just reflex now. Even when I'm making a box the cube gets deleted.
@@imagiscope =DDDDDDDDDD
Hello! I had a problem when rendering. When I look the track points in the viewport, they are in the right place, but when rendering and opening them on Davinci to compose, movement of the rendered object is wrong. I do not know if it could be something happening in the blender project. If you have any clue or know how to solve it, it would be great. Thank you!
How can I now make the blender vid an mp4 without using after effects?
The x,y, z coordinates of the target origin are not parallel and perpendicular respectively. Is there some way in the script to insure the x,y,z coordinates import correctly?
The script will "flatten" based on the first trackpoint (set at 0,0,0). The coordinates are based on globe (sphere) relationship and are perpendicular to the surface of the point. Feel free to play around with the code to find what works best for you.
Why not render direct all directly from Blender?
How can I convert google earth coordinates to blender coordinates ?
Use our add on
th-cam.com/video/J21nqXtFWKw/w-d-xo.html
How can I open the video without after effects or blender?
Earth studio sometimes changes the focal length when it moves from one point to another. Is that information also carried over?
Never mind, I just had a look through your script and I can see it's in there at the end.
This is so awesome, thanks again
Hey Keith - right now it's "hard coded" for 20 degrees. For other field of view, we could also use a formula. Feel free to play with the numbers if you're changing from the default fov.
@@imagiscope I see.
The issue is, if you want to go from one city to another, as the camera ascends, it drastically changes the focal length, then as it comes down into the new city, as it gets low, you can actually see the effect of the changing of the focal length, reminiscent of some classic Hollywood shots...
But, that info should be in the JSON file, so I can try getting from there.
@@キラキラくりくり頭 I've tested some long distance "city jumps" and I haven't experienced that issue. The GES data is scaled 1/100 to better work with Blender (it seems to distort at world scale). The trackpoints will curve around the earth surface starting at first trackpoint (0,0,0 rotation at 0,0,0 location) then all other camera and trackpoints are relative to start. Give it a test, let me know how it works.
@@imagiscope yeah. I was doing it up to world level (Toronto to London). But I'll play around with it.
Any option to Render Video and animation both together?
or I can export the final with image sequence
Yes, I'll upload a video shortly. However, in compositing within Blender you can create an additional movie clip node and alpha mix it with the blender output.
@@imagiscope THATS GREAT - WHAT I DID 1ST ADDED THE IMAGE SEQUENCE OF EARTH 3D AND THEN THE ANIMATION SEQUENCE ON TOP OF IT IN VIDEO EDITING SECTION IT WORKED OUT .....
@@hashanfernando5209 great
@@imagiscope how do I create a movie node? (I'm not very familiar with blender :))
@@hashanfernando5209 what did you do after that i am new to blender and am really bad at it can you please help XD
is giving error on line 11. (ifiles)
The path or filename is incorrect. Double check it (make sure you have correct number of 0)
@@imagiscope
tried everything.
😢
import bpy, json, mathutils, math, bmesh
from mathutils import *
cam = bpy.context.scene.camera
scene = bpy.context.scene
# load the GES render files as background for camera
# Sample format: ifiles = "D:/Local/Project/Beach/beach/footage/beach_0000.jpeg"
ifiles = "D:\Download\city\footage\city_0000.jpeg"
img = bpy.data.movieclips.load(ifiles)
cam.data.show_background_images = True
bg = cam.data.background_images.new()
bg.clip = img
bg.alpha = 1
bg.source = "MOVIE_CLIP"
# load JSON file for evaluation
# Sample format: jfilename = "D:/Local/Project/Beach/beach/beach.json"
jfilename = "D:\Download\city\city.json"
I had the same problem copying paths from windows explorer, it started working when I replaced "\" with "/".
Yes, that'll mess it up. I'm looking at adding a dialog to open the files (no changing the code, just run the script)
@@arturotrujillo9117
Thank you so much I got it with the method
I can't seem to get the grids to appear when looking at the video, so it's hard for me to position my 3D objects... anyone know how I can display that Cartesian grid?
I can't for the life of me get this script to run. Do we have to save it to a certain place? I swear I choose the correct path where I saved it. Just.. cannot get passed it. Do we have to do exactly what you did in the video? same amount of camera points, etc.. all that?
Hmmm, you'll need at least one track point. Where are you getting the error (toggle the console to see)?
Not working tried almost 15 times,,,, added track points / correctly updated the file location didn't work for me
I have a question, how can I extract data into Blender from Google Earth Pro? Not Web. Because Middle Eastern buildings only appear on PC version of Google Earth. In Web version there are only flat areas in the desert, nothing else. But I felt like I have to extract them for my project, really. So, if you have any knowledge, what's the way to extract those 3d Middle East buildings to Blender?
I'm not aware of a tool to extract from the pro version. Usually the imagery on the pro version is also represented on the web version, but there may be several cases where it is not ... There are several data sets (servers) that produce different "times" of data - it may be a case of waiting for other servers to update.
I'm running Windows 10, but the file directory uses backslashes instead of slashes, so I get an error when running the script. Is there a way around this? Thanks
Use the example provided. You will need to modify slashes if you cut and paste. Also, make sure you have the correct number of zeros in the filename.
Hi, I've got this working in some tests, but I keep getting this odd thing where the blender camera shakes as the footage plays, like the tracking data is messed up or something....
Are you fairly close to the subject or do you have a very large area you are capturing?
@@imagiscope you're awesome for replying :)
The last time this happened I was a just focussed on one large school sized building. Could it be that I'm starting the renders looking up at the sky?
@@yellsabob I have seen this occur (in Blender and after effects). I'm not sure of the cause but it could be bad camera data from the JSON file
I get an error at line 12 cam.data.show_background_images = True, but console doesn't show anything (running Blender 2.83 and OSX 10.14 Mojave)
The File system structure is probably different for Mac OS. Adjust accordingly.
Im currently using Blender 2.90.1 and I keep getting the Python Script Failed. Im going to try the version of Blender you are using in the tutorial in hopes that would fix my issue
What line is the error?
some error on: 142 cam.parent = ges_parent
python script failed
Is it possible to use this in a film?
Explain
@@imagiscope like would it be acceptable to use this in an animation film? Or would it infringe on copyright
@@GameDevUE if you mean, is it ok to use Google Earth studio animation in film. It is, but you will need to follow the guidelines provided by Google. See their site for details.
@@imagiscope awesome thank you!
can it be used in games ?
Probably not. Check out Google's SDK for unity
Hi, I've got an error in line 53...
Traceback (most recent call last):
File "\Text", line 53, in
KeyError: 'relative'
Error: Python script failed, check the message in the system console
Any idea what could be the problem?
I suspect you either have no track points or you may be using a local coordinate space when rendering the JSON file (should be Global). It may also be that you only have one track point - it should work with one, however, I usually add several so I may not have tested the code with just one. Let me know if that works for you.
@@imagiscope I've added 40 now, and that kind of works, however, the tracking point planes and the google logo are jiggling all over the place.
Man... I've got Phyton script failed message, what would i do to correct this in blender 2.9, plsease help
Use the add-on we created. th-cam.com/video/J21nqXtFWKw/w-d-xo.html
Alright, does anyone else have an error in the line ''img = bpy.data.movieclips.load(ifiles)'' I made the two changes, filled in the path for my image file and JSON but somehow I get an error on this line, any idea? Thanks
We now have a add-on. It should eliminate your errors.
th-cam.com/video/J21nqXtFWKw/w-d-xo.html
What am I doing wrong? I always get this message(Python script failed,check the message in the system console). Nevertheless, thanks for the eloquent tutorial
Errors are usually due to incorrect path or the 000 and 0000 (3 zeros vs 4/5 zeros) on the filename
@@imagiscope Probably is the syntax error because of the first command line which must be changed.That is what i get for the path in the propertys C:\Users\jimy 2\Documents\GES Ibiza\footage .
Ibiza_000.jpeg is not a folder so the i have to added it manually,my end product will be jfilename = "C:\Users\jimy 2\Documents\GES Ibiza\footage\Ibiza_000.jpeg".It will not work,tried also with older versions of Blender and Linux, the same.
The script doesn't seem to import field of view / lens length from the GES camera, is that correct?
Correct. Feel free to play with the code and share
@@imagiscope I wish I new how to do such a thing! Super handy anyway, the camera match worked much better than the previous hack I had going
Thomas, there are some variables near the bottom of the code for camera settings. They are configured for the default camera but you could play with them to match your GES camera.
@@imagiscope Thanks, I'll take a look.
Hello! In my case i´m getting a message error directing me to line 11 of the Script :"img = bpy.data.movieclips.load(ifiles)"
Can you help me?
There is a new tool you can use that will fix your issue. It's on our second channel, you can see it here th-cam.com/video/J21nqXtFWKw/w-d-xo.html
@@imagiscope Thank you!!!
Hello... thanks for this video... and I have a strange problem for that. As you introduced, I used your script and loaded JSON data in Blender(2.82a).
MY GES video includes 7 track points and it exists in blender as well.
But... the problem is that when key frames goes, the track points are moving! not fixed as track points.... why it happens...??? do you know? hmmm.... so strange..
can you guess?
In After Effects, the track points are working well(JSX file)...
I reviewed in detail your script code, so I have two supposition for the error..
please let me know the solution.
1) in the end part of your script, there is "# camera "lens" based on 20 degree Filed of View (default value)"
I changed the value of camera "lens" from 20 degree to 37 degree in my GES video. Is your script working only in 20 degree?? is it possible to use different degree by changing your code?
2) For this GES video, I am using 1320 X 1080 px. But... in the blender view, the loaded JSON video data looks having longer width. Could it be problem? Is this script only working in 1920 X 1080 px? I didn't find any code in your script related with resolution(px).
The "moving" is due to incorrect camera settings...they aren't moving, the perspective is off...
1) I haven't tried other field of views within Blender (only default). The figure of 34.8d with 35mm was a combination found via trial and error for 20 degrees from GES. You'll have to find the correct measurements if you are using a different setting. When you find the correct values, please share.
2) you should just be able to adjust the scene resolution and be set. I could also be added to the code if necessary as I believe the values are in the JSON file.
@@imagiscope Thanks for rapid reply... but even though I found appropriate combination, if I use different value of degree, I need to find new value again... but if there is no any calculating relationship between combination and degree, the usage of this function connecting GES and Blender is so limited... isn't it..?
If I were selling this solution, which I've provided for free, I certainly would want that value tied to a calculation. There is a calculation - perhaps in future updates I'll come across it or other will share their findings. I've yet to use the solution with other fov but when I do, I'll be sure to share.
Hello, after including the addresses of .jpg and .json, I execute the script and this error appears on line 142 - cam.parent = ges_parent.
What should I do to fix it?
Do you have a camera in your scene (by default you should)? What version of Blender?
Do you have a minimum of one trackpoint in your animation? At least one trackpoint is required.
@@imagiscope that may be it, I don't have the trackpoint yet
@@imagiscope thanks, it worked!
i had many python error with your code like "AttributeError: 'NoneType' object has no attribute 'data'". can you fix this?
line 12
Check your path and filename. This error is due to incorrect filename.
Can this be turned into a 3d model
It can be done with the use of Photogrammetry but you need a beefed up PC
@@stefanbachrodt7072 well my PC is anything but beefed up
how to remove google earth text ?
is this terrain is playable on unreal engine4 ?
I heard in some video that you cannot remove Google earth text
@@janzboril3544 sad
@@janzboril3544 but is playable on unreal engine 4?
@@kingedica3623 Sorry, I have no experiences with UE4 yet so i have no idea ;)
img = bpy.data.movieclips.load(ifiles)
This is the error code
Check path with correct number of zeros (0)
@@imagiscope Hi When I export my File I cannot Export Google earth Video long with my animation .... Cant ,we Render both at the same time?
the script don't work for mee, why?
NameError: name 'ges_parent' is not defined
Got any trackpoints? Add them to fix
@@imagiscope how to add trackpoints?
In Google Earth studio... It will then be included in the JSON file
OK
jfile = open(jfilename,'r')
This is coming with an error.
There is an updated add on - this will make it much easier plus can now import KML files. th-cam.com/video/J21nqXtFWKw/w-d-xo.html
@@imagiscope Thanks for the help 💖
Genre la on peut rajouter un véhicule et conduire comme gta 5
I like how Google over saturates the 3d photogrammetry like what's the point? is google earth's photogrammetry aimed at 5 year olds so they had to over saturate it