This plugin imports data from Voodoo Camera Tracker, making it possible to recreate camera flightpaths in SketchUp, from real movies. Also known as camera tracking or camera matching. Honestly I don't know how useful this really is, but it is still pretty interesting and could have some limited, specialized instances where it might come in handy.
Shoot your movie clip (Voodoo has guidelines on waht types of clips, length, etc, work best for their software) (See video #1 below - my video clip).
Turn movie clip into a series of images (I've used QuickTime Pro, but there are other free ones out there. I just need to rememeber what its called and put a link to it).
Open series of still images into Voodoo Camera Tracker.
Use that software to track the camera - creating a lot of 3d point clouds along the way!
Export as a text file. (I've attached an example text file that can be imported for testing purposes.)
Import text file into SU using this plugin (from the File > Import dialog or through Plugins > Chris Fullmer Tools > Voodoo camera tracker Importer).
Now you have a scene for each from of your movie, a camera path of construction points, and a cloud of construction points. (I've attached an example sketchup file that shows how the data is imported if you'd like to play with it).
Clean up any construction points that are way out of the range.
Play the scenes animation inside of SU to get a feeling for how well the import worked.
Add your model, using the pointcloud as a reference for where it should sit more or less.
Export an animation of your model (hide construction points first) as a series of image frames.
Now somehow figure out how to composite those frames cleanly back on top of your original frames (I used photoshop. I know other software does it too. If there is interest, I am looking at automating this part of the process with ImageMagick). (see 2nd video below for an example of my final output video).
Ok, well that is a sort of theoretical workflow that worked for me. I should mention I have not used Voodoo very much, so my example video would have come out much better if I knew how to refine things inside of Voodoo. Also notice that Voodoo might be capable of exporting more info than I currently import. Right now I only import cameras and feature points. I do not know if Voodoo exports different/more data if you do more refining work inside the program. If so, I can add that to the importer once someone explains how it works
Please check out my original footage, my SketchUp model, my example Voodo export file that you can import just to test it out, and finally my final video, where I add an amazing fountain to the front of my office. It is amazing.
Let me know what you think, if you can get it to work at all, if you need more tips on layering the frames afterwards, etc. This plugin was written as a fun exercise, but I will develop it further if there is real demand. I can't tell if this plugin is just a silly little toy, or on the verge of being something really useful.
And lastly, I am not convinced that I have the camera FOV worked out perfectly. I have not tested it very thoroughly. So if someone notices that it is really off, let me know and I'll see if I can figure it out better. Oh yeah, and for some reason, my videos are always upside down in Voodoo, so this importer actually turns the Voodoo export upside down (which makes it look right in SU). But that could just be a quirk from how my video camera saves the movie file or something. So if you notice your videos come out upside down, or the scenes do not actually point at the geometry cloud, let me know! Thanks,
PS - Voodoo is apparently not for commercial use, so that is a bummer
My original video:
My video of what the camera movement and 3d point cloud look like inside SU:
The finished product:
Please, register (free) to access all the attachments on the forums.
Yes Chris, I already exactly know where and how I will use this when it comes to there. You say it's currently just a toy - I say it's an extremely useful tool which has immense possibilities (of course, you need to edit that lamp post and fountain so that the post looks to be in front of the fountain but I know it's just nit-picking now )
Thanks a bunch and I guess I will be closely following this topic to see if there is any development.
BTW Could it be used with still images? Say if I shoot two (or more) images from two, different angles? It would be an easier tool to handle than PhotoMatch!
Thanks for taking on this project. I looked at camera tracking possibilities some time back and thought there was great potential. I even researched some devices for keeping the camera steady while walking, cycling past the 'scene'.
It would be fantastic to have a marriage of Camera Tracking with SketchUp at it would allow for very realistic 'This is how the building would look in reality' videos for presentation to clients and Planning Authorities. A plugin that would do this would definitely be worth its weight in gold and I am sure you would be well compensated for your efforts.
Like Csaba I to will keep a close eye on your progress and send you the bits and pieces that I have filled away somewhere on my HD.
Yes, Syntheyes seems to be a popular option from what I've seen.
It would be amost equally easy to make my pluing incorporate synthese exports also. In fact, I could perhasp just make my script read in the 3ds max export file. Then theoretically it might be able to import the camera match data from any camera match software. Maybe that would be a good solution,
This plugin was exactly what I was looking for. But it seem not to work correct. I generate a .txt (from 360 pictures, 132 kb) and then I import it with the plugin. The plugin asks me about the framerate, I klick OK and the scenes are generated. But all have the same perspective and there are no points from voodoo. If I play the animation every "picture" is exactly the same. The camera also seems to be nearly exactly at the point of origin. What went wrong? I used SU 8. Please help me. Thats a really great tool and would be if I can use it! Thanks, floric
Hmm, that is a good question. This plugin was a bit of an experiment by me, but it definitely should work. I guess could you upload the .txt file here? You might need to zip it so the forum accepts it. I'll take a look at it and see if there is an oddity in the file that my script is not able to understand. Thanks,
Sorry, I have not yet got to it. Perhaps this weekend I can though. Work has been unexpectedly bust the last couple of weeks - but we got a BIG project completed yesterday and this weekend I can finally relax.
Hey Floric, I am finally finding some time to look into this, and the first thing that I'm seeing is that the data is not coming out of Voodoo tracker correctly. So somehow I think you have not got Voodoo set up right. Is there any chance you could uploade the video that you are trying to track?
At first, I apologize for my pretty poor English, I don't speak it really fluently. Whatever, I only wanted to thank you ! It's a pretty amazing work ! I'm a student in movie/photography and it's so useful for green screens ! Thanks a lot !
After some tests, I still got a question: how do you make axes generated by voodoo match these of your sketchup model? Maybe my purpose is not really clear... (Shame on my pretty poor English ^^) So I join a screenshot:
As you can see, there is some problem... And of course, if I simply rotate the model to make surface parallel to the ground, I lose scene views. I'd like to make red and green axes match initial sketchup axes (and horizon to get realistic light while rendering) but I absolutly don't know how to do so ! I've been looking for solutions over the web for hours, but I didn't find anything ! No way to move horizon line in sketchup, nor to manually set axes in voodoo after tracking. Well, I'm lost, can anyone help me, please?
Hi Sims, I've been out on vacation for a few weeks, but I'm back now.
I admit that I can't tell what it wrong with that image. It looks like it imported well to me. Could you upload the .txt file?
Or in your PM you sent me, you mentioned just trying to use another file format. If you could give me some better detail on what file format it is, I might be bale to write another version that reads their file format.
The picture is unclear. To me it looks like the camera path is oriented correctly with the model axes. It looks your "flat" plane and person component are the things that are wrong. The blue axis should be pointing upwards, but in your image, it is slanted, which is wrong. But I'm probably just not understanding what I'm seeing.
As for Boujou, sounds good. I'll see if I can look at it. How quickly do you need it? I'm really swamped. But I might be able to get you something simple.
Well, with Voodoo, something is wrong (even in 3D viewer), not only axes. It's really "skieve" as we'd say in my country. I mean, even while switching axes, it's still skewed.
I would need it for post production, so first week of February. But I absolutly don't want to bother you ! If you are overbooked, don't waste your time for me ! If I still have problems with 3D tracking, we'll work in 2D tracking, and that's it.