# Mesh Tracking Tools (Beta) - with all tutorials

**URL:** <https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251>\
**Category:** Released Add-ons and Extensions\
**Created:** [April 21, 2012, 10:37am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251 "2012-04-21T10:37:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sftd](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sftd](https://blenderartists.org/u/sftd)\
**Post date:** [April 21, 2012, 10:37am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/1 "2012-04-21T10:37:33Z")

</div>

UPDATE 09.06.2012:

- Improved “offset algorithm” which should give now much more accuracy. Here is an example connected with masking feature test: [https://vimeo.com/43720050](https://vimeo.com/43720050)

MESH TRACKING TOOLS

I created something I called: Mesh Tracking Tools.

Goal of Mesh Tracking Tools is (or was supposed to be):

- make some basic effects in Movie Clip Editor easier to make
- make some fun effects in Movie Clip Editor possible to make
- allow You to use Object Based Reconstruction (which is also a script I created)

Here’s a small preview of what can be done using Mesh Tracking Tools (object based reconstruction was improved since than, so please don’t be discoureged!):  
https://player.vimeo.com/video/39298611?app_id=122963

I was planning to make 3 short and simple tutorial to explain how to use it. Unfortunately I discovered that I suck at making tutorials. Nevertheless here they are (Sorry for my english, unfortunately I don’t have many occasions to practice).

In the beginning (and at the end) of every tutorial is an effect which I am trying to explain in tutorial.

Tutorial 1 - Tracking Frames:  
(if You are only interested in Mesh Tracking Tools Part watch only from 6:19):  
https://player.vimeo.com/video/40774732?app_id=122963

Tutorial 2 - Face Scar Effect:  
https://player.vimeo.com/video/40774733?app_id=122963

Tutorial 2a - Face Morphing Effect:  
(OK… Final effect is as “effective” as I hoped it to be, but please try to imagine how it could look with a little bit more of work put into it! 😉 ):  
https://player.vimeo.com/video/40788432?app_id=122963

Tutorial 3 - Object Based Reconstruction:  
(Static part: reconstructing 3d scene and solving focal length using objects known shape)  
(If I messed up this tutorial please say so and I will try to make something easier to understand)  
https://player.vimeo.com/video/41791069?app_id=122963

Tutorial 3a - Object Based Reconstruction in animation:  
(Animation par: reconstructing moving object and solving focal length dynamically)  
(This tutorial is also messed up a little bit, but please try to understand from it as much as possible)  
https://player.vimeo.com/video/41996845?app_id=122963  
IMPORTANT  
I forgot about one important thing when making this tutorial. Objects You are tracking should be about it’s real sizes (in EDIT MODE 1 blender unit = 1 meter). If they will You will get more accurate matches and focal should be solved correctly. Though in my examples the scale was off and I still got some acceptable looking results!

I have also a few more ideas for different effects, but didn’t found time yet to test them. Hope I will be able to show You something more soon.

To install Mesh Tracking Tools You need to download .zip file from here:  
Blender 2.67 version: [http://allblue.pl/allblue\_tmp/mtt.zip](http://allblue.pl/allblue_tmp/mtt.zip) (not properly tested yet)  
and extract it to Addons folder in Blender.

Remember it’s still Beta version and probably have many bugs. I will try to make it more stable as soon as I will :).

Have fun. If You will find this addon useful please say so, if not also say so!

UPDATE:

Plans for the future:

- Make Mesh Tracking Tools final demo to show this addons full capabilities.
- Add one fun future to Static Object Based Reconstruction to make it more useful.
- Fix some bugs.

If I will decide this addon has future:

- Add Shaped Based Reconstruction to Object Based Reconstruction 😉
- Move slowest parts of Object Based Reconstruction to C.

---

<div class="post-metadata">

**Author:** ![kakachiex2](https://blenderartists.org/user_avatar/blenderartists.org/kakachiex2/32/544281_2.png) [@kakachiex2](https://blenderartists.org/u/kakachiex2)\
**Post date:** [April 21, 2012, 4:14pm UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/2 "2012-04-21T16:14:39Z")

</div>

this is realy interesting tools

---

<div class="post-metadata">

**Author:** ![holyenigma74](https://blenderartists.org/letter_avatar_proxy/v4/letter/h/2bfe46/32.png) [@holyenigma74](https://blenderartists.org/u/holyenigma74)\
**Post date:** [April 21, 2012, 5:38pm UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/3 "2012-04-21T17:38:53Z")

</div>

Location Poland

is that girl from Poland?  
while watching that video i kept thinking to myself “she looks Polish :)”

---

<div class="post-metadata">

**Author:** ![sftd](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sftd](https://blenderartists.org/u/sftd)\
**Post date:** [April 21, 2012, 11:18pm UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/4 "2012-04-21T23:18:40Z")

</div>

> [@kakachiex2](#):
>
> this is realy interesting tools

Glad You find it useful 🙂

> [@holyenigma74](#):
>
> Location Poland
> 
> is that girl from Poland?  
> while watching that video i kept thinking to myself “she looks Polish :)”

Congratulate on Your good eye 😉

---

<div class="post-metadata">

**Author:** ![Meta-Androcto](https://blenderartists.org/user_avatar/blenderartists.org/meta-androcto/32/3989_2.png) [@Meta-Androcto](https://blenderartists.org/u/Meta-Androcto)\
**Post date:** [April 22, 2012, 2:40am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/5 "2012-04-22T02:40:27Z")

</div>

awesome tools & tutorials  
thanks 🙂

ps, I had to laugh when blender crashed, happens to me too sometimes.

---

<div class="post-metadata">

**Author:** ![freen](https://blenderartists.org/user_avatar/blenderartists.org/freen/32/5026_2.png) [@freen](https://blenderartists.org/u/freen)\
**Post date:** [April 22, 2012, 6:17am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/6 "2012-04-22T06:17:48Z")

</div>

Great stuff man! This’ll be really useful

---

<div class="post-metadata">

**Author:** ![MoXX](https://blenderartists.org/letter_avatar_proxy/v4/letter/m/e480ec/32.png) [@MoXX](https://blenderartists.org/u/MoXX)\
**Post date:** [April 22, 2012, 7:17am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/7 "2012-04-22T07:17:59Z")

</div>

This is usefull, tx for your effort!

---

<div class="post-metadata">

**Author:** ![spatdsg](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/d6d6ee/32.png) [@spatdsg](https://blenderartists.org/u/spatdsg)\
**Post date:** [April 22, 2012, 8:06am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/8 "2012-04-22T08:06:22Z")

</div>

great tutorial! gonna try this out with your new tools as soon as I get a chance… thanks so much for doing this!

---

<div class="post-metadata">

**Author:** ![3pointEdit](https://blenderartists.org/user_avatar/blenderartists.org/3pointedit/32/2482_2.png) [@3pointEdit](https://blenderartists.org/u/3pointEdit)\
**Post date:** [April 23, 2012, 1:19am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/9 "2012-04-23T01:19:08Z")

</div>

Wow, fewer points is a great idea! I have found that DSLR footage often is skewed when there is fast movement, I wondered whether I could distort footage by tracking points and assigning constraints to a mesh that has the image reprojected on it. That way the image would be distorted inversely to the skew. I will have a look at these tools for that I think.

---

<div class="post-metadata">

**Author:** ![plasmasolutions](https://blenderartists.org/user_avatar/blenderartists.org/plasmasolutions/32/22839_2.png) [@plasmasolutions](https://blenderartists.org/u/plasmasolutions)\
**Post date:** [April 24, 2012, 1:26am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/10 "2012-04-24T01:26:02Z")

</div>

sftd…will your script still work with the immanent release of bmesh blender aka 2.63? I would hate to abandon it now that I just began to love it 🙂

---

<div class="post-metadata">

**Author:** ![sftd](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sftd](https://blenderartists.org/u/sftd)\
**Post date:** [April 24, 2012, 9:45am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/11 "2012-04-24T09:45:25Z")

</div>

Thank You all for such positive comments 🙂

> [@1981Neo](#):
>
> sftd…will your script still work with the immanent release of bmesh blender aka 2.63? I would hate to abandon it now that I just began to love it 🙂

Well I haven’t tested it yet, but I am almost sure it will need at least a few changes.

The plan is as follows:

- make one fix in Object Based Tracking and make tutorial on using it
- add 2 features to Mesh Tracking Tools (quite simple ones, but I think they will be very useful)
- make mesh tracking tools work with 2.63
- make mesh tracking tools more stable
- add a few more features I have in mind (but they are a little bit more complicated)
- make Mesh Tracking Tolls work faster (move some code from python to c++)

Oh… And one thing. If You will make something interesting (even ifYou don’t think it is), please post it for example here or notify me in some other way. If I will know what are You using Mesh Tracking Tools for maybe I will get some ideas how to improve it.

Thank You all once again! Hope I will be able to share something interesting soon.

Cheers! 😉

---

<div class="post-metadata">

**Author:** ![SHABA1](https://blenderartists.org/user_avatar/blenderartists.org/shaba1/32/502450_2.png) [@SHABA1](https://blenderartists.org/u/SHABA1)\
**Post date:** [April 24, 2012, 4:51pm UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/12 "2012-04-24T16:51:38Z")

</div>

Remember to change the link to the script in the first post of the thread here as you update it. Many people will not go beyond that first post and it will save you answering a lot of questions about why the script will not work.

---

<div class="post-metadata">

**Author:** ![kilon](https://blenderartists.org/user_avatar/blenderartists.org/kilon/32/483746_2.png) [@kilon](https://blenderartists.org/u/kilon)\
**Post date:** [April 25, 2012, 4:43am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/13 "2012-04-25T04:43:25Z")

</div>

blender does not crash it exits silently !

great addon by the way , thanks for sharing.

---

<div class="post-metadata">

**Author:** ![spatdsg](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/d6d6ee/32.png) [@spatdsg](https://blenderartists.org/u/spatdsg)\
**Post date:** [April 29, 2012, 7:57am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/14 "2012-04-29T07:57:58Z")

</div>

Hi

I am using Blender 2.63 and when I try to use the “unwrap from tracks” button I get the following error.

Any ideas?

When I then render the mapped plan it has the image sideways ☹

thanks!

location:\<unknown location\>:-1  
Traceback (most recent call last):  
File “C:\Users\spatdsg\Downloads\Blender\_2.3\_6921\_win7.x64-46007\Win7.x64-46007\2.63\scripts\addons\mesh\_tracking\_tools\unwrap\_from\_tracks.py”, line 163,  
in execute  
unwrap\_to\_tracks(obj)  
File “C:\Users\spatdsg\Downloads\Blender\_2.3\_6921\_win7.x64-46007\Win7.x64-46007\2.63\scripts\addons\mesh\_tracking\_tools\unwrap\_from\_tracks.py”, line 121,  
in unwrap\_to\_tracks  
for i, uv in \_face\_uv\_iter(obj):  
File “C:\Users\spatdsg\Downloads\Blender\_2.3\_6921\_win7.x64-46007\Win7.x64-46007\2.63\scripts\addons\mesh\_tracking\_tools\unwrap\_from\_tracks.py”, line 33,  
in \_face\_uv\_iter  
yield (i, uv\_layer[i].uv)  
AttributeError: ‘MeshTexturePoly’ object has no attribute ‘uv’  
location:\<unknown location\>:-1  
location:\<unknown location\>:-1

---

<div class="post-metadata">

**Author:** ![sftd](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sftd](https://blenderartists.org/u/sftd)\
**Post date:** [April 29, 2012, 12:18pm UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/15 "2012-04-29T12:18:54Z")

</div>

> [@spatdsg](#):
>
> I am using Blender 2.63 and when I try to use the “unwrap from tracks” button I get the following error.

Please don’t use my addon with blender 2.63. It won’t work and more or less I know why. I added today last changes to Mesh Tracking Tools, will make tutorial on Object Based Reconstruction in days and than make Mesh Tracking Tools work with 2.63. I hope it will be really soon. Please be patient!

---

<div class="post-metadata">

**Author:** ![sftd](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sftd](https://blenderartists.org/u/sftd)\
**Post date:** [May 8, 2012, 3:41am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/16 "2012-05-08T03:41:06Z")

</div>

Hi,

I made a version of Mesh Tracking Tools that will work with 2.63 now:  
[http://allblue.pl/mtt.zip](http://allblue.pl/mtt.zip)

I also finished working on Object Based Reconstruction (though I have in mind one in my opinion quite interesting feature). 2 tutorials will appear within 48 hours 😉

Have fun!

---

<div class="post-metadata">

**Author:** ![sftd](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sftd](https://blenderartists.org/u/sftd)\
**Post date:** [May 8, 2012, 11:54am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/17 "2012-05-08T11:54:27Z")

</div>

And here is the first tutorial on Object Based Reconstruction. I failed a little bit at recording it, so if it is unclear please say so and I will try to make something more understandable:

https://player.vimeo.com/video/41791069?app_id=122963

---

<div class="post-metadata">

**Author:** ![spatdsg](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/d6d6ee/32.png) [@spatdsg](https://blenderartists.org/u/spatdsg)\
**Post date:** [May 8, 2012, 7:29pm UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/18 "2012-05-08T19:29:54Z")

</div>

This worked great for 6.23 and the mesh tracking! thanks!

---

<div class="post-metadata">

**Author:** ![Chris.LA](https://blenderartists.org/user_avatar/blenderartists.org/chris.la/32/21203_2.png) [@Chris.LA](https://blenderartists.org/u/Chris.LA)\
**Post date:** [May 9, 2012, 4:35pm UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/19 "2012-05-09T16:35:42Z")

</div>

Very good & interesting !

Thank you @sftd ![http://statusicons.cgcookie.netdna-cdn.com//user-offline.png](http://statusicons.cgcookie.netdna-cdn.com//user-offline.png) :yes:

---

<div class="post-metadata">

**Author:** ![sftd](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sftd](https://blenderartists.org/u/sftd)\
**Post date:** [May 11, 2012, 11:43am UTC](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251/20 "2012-05-11T11:43:23Z")

</div>

And here is my last tutorial on Mesh Tracking Tools:

- reconstructing 3d scene based on known object shape and solving focal length of camera dynamically in animation
- I recommend to watch my previous tutorial (Tutorial 3) if You are interested in this part

Have fun and please share your results if You will get something interesting.

Tutorial:  
https://player.vimeo.com/video/41996845?app_id=122963

IMPORTANT  
I forgot about one important thing when making this tutorial. Objects You are tracking should be about it’s real sizes (in EDIT MODE 1 blender unit = 1 meter). If they will You will get more accurate matches and focal should be solved correctly. Though in my examples the scale was off and I still got some acceptable looking results!

[Next page](https://blenderartists.org/t/mesh-tracking-tools-beta-with-all-tutorials/539251.md?page=2)
