How To Import Boujou 5.0 tracking data to Blender 2.64

1. After finishing the track and solving, go to Export > Export Camera Solve (Or press F12) > choose where to save the data and give it a name, click he drop down Export Type and make sure it’ll save as a .txt, then click Save.

2.
Open Blender 2.49b, deleted everything in the scene, open the text editor in a new area, click Text > New > add this script: http://pastebin.com/DipPGHt3 (Sorry I would have posted the script straight into this post but it made the post way too long to submit.)

3. then click Text > Run Python Script > locate the .txt file you saved from Boujou > Import .txt > save as a .blend file somewhere you can find.

4.
Open Blender 2.54 > open the .blend you just saved > save again > open the scene with your animation > Append > find the .blend you saved in Blender 2.64 > Scene > Scene > click Link/Append from Library.

5.
Swap scene to the new scene you jump Appended, select the camera and trackers > press Ctrl+L > Objects to Scene > then choose the scene you want the camera tracker data to go to.

6.
go back to the scene you added it to > delete the camera that was already on the scene before appending then BOOM your done, you can move everything into place and start animating it. :slight_smile:

Any problems either post it here or message me and I’ll try help out!

I’m willing to do a more detailed video and/or add pictures to this post if anyone wants me too.

Thanks all Hope This Helps You A Lot! :slight_smile:
Brian Walker

I did not write the script.
Credits to MDFilmndustries (Youtube) for this video http://www.youtube.com/watch?v=gyq6aSQ6daM

THANK YOU SOOOOOOO MUCH!!! I have been looking everywhere for a tut on this!

But I noticed that when i import it, the camera is facing strait down, and i cant move it without it screwing up the cam animation. So is there a way to move the camera to a different spot but have the animation be the same?

Ah,

Just what I needed to get my $10,000 tracking software data into my free graphics program.

Ho provato tutto il pomeriggio a modificare il codice ma non conoscendo la sintassi ho cercato di capire a logica. Modificando il codice in questo modo tutte le azioni da attuare rimangono le stesse ma se in Boujou usi la griglia di riferimento come un piano verticale



quando esegui lo script ti importerà la scena in orizzontale!


Spero di essere stato utile!
French93

Could somebody please update one of the two scripts to a newer blender version ??
Really nothing more I wish for so long to have in Blender!!!

Script for Blender 2.49 with camera looking down by Blup1980:
http://wiki.blender.org/index.php/Extensions:2.4/Py/Scripts/Manual/Import/Boujou

Script for Blender 2.49 with fixed horizontal camera by Blup1980 & French93:
=>>> http://pastebin.com/61dUKkSu

Hi there, I just rewrote the script to work in blender 2.78 and probably in some other releases too.
Here it is:

https://drive.google.com/open?id=0B0_HnTgLksM2cFNMWjZPdzVsbWc

you have to run it from within a blender text editor window, simply copy and paste it, or just open the text file from your hard drive.
If you go down to line 144, you can specify the file path to your boujou export file (e.g.: C:/User/Name/Desktop/matchmove.txt)

you can set a scale factor if you haven’t done this in boujou on the export allready.

after that, you just hit run script or alt+p, and the prediction points and your camera should get added to your scene.
This script animates the focal length of the camera, as well as it sets the render resolution to the resolution of your footage, and the sensor width of your camera to the calculated width from boujou.

(P.S.: rotate your scene in boujou to face Z up)

Thank you Canes Lupus, with this update I no longer need Blender 2.49 or Maya (That’s great!).

I updated your script to add the file selection menu and put the “scale_factor” value more accessible on the top.

Download here:

zL

It’d be awesome if there was a blender 2.8 script for this :two_hearts::two_hearts: