diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-30 22:06:02 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-30 22:06:02 +0400 |
commit | 3c6e818b22ed9153604cfb87476845416112b7d8 (patch) | |
tree | 903339376cb68d49151d2b2f83543f07610e79d9 /release/scripts/presets | |
parent | 532afede0236bdf6e29dd4dfc746a1ee0959d8a5 (diff) | |
parent | c2ae77e5bdd60e4cfe9b1f9d3d54e66f8089245c (diff) |
Object tracking integration
This commits merges object tracking implementation from tomato branch.
Summarized changes from branch:
- Added list of objects to be tracked. Default there's only one object called
"Camera" which is used for solving camera motion. Other objects can be added
and each of them will have it;s own list of tracks. Only one object can be used
for camera solving at this moment.
- Added new constraint called "Object Tracking" which makes oriented object be
moving in the save way as solved object motion.
- Scene orientation tools can be used for orienting object to bundles.
- Object has got scale to define "depth" in camera space.
- All tools which works with list of tracks or reconstruction data now
gets that lists from active editing object.
- All objects and their tracking data are available via python api.
- Improvements in witness cameras workflow,
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/tracking_track_color/object.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/presets/tracking_track_color/object.py b/release/scripts/presets/tracking_track_color/object.py new file mode 100644 index 00000000000..5cb663d3f97 --- /dev/null +++ b/release/scripts/presets/tracking_track_color/object.py @@ -0,0 +1,5 @@ +import bpy +track = bpy.context.edit_movieclip.tracking.tracks.active + +track.color = (1.0, 0.0, 1.0) +track.use_custom_color = True |