Camera tracking: added depth object to Follow Track constraint

If this object is defined, object with Follow Track constraint would be
projected into surface of this depth object.
If object is not set or there's no projection onto it, projection plane
calculated based on original object position would be used.

This allows to make cheap facial mocap.
This commit is contained in:
Sergey Sharybin
2012-01-04 17:20:08 +00:00
parent 829216325d
commit cd84a43334
5 changed files with 79 additions and 5 deletions

View File

@@ -778,6 +778,10 @@ class ConstraintButtonsPanel():
layout.prop(con, "camera")
row = layout.row()
row.active = not con.use_3d_position
row.prop(con, "depth_object")
layout.operator("clip.constraint_to_fcurve")
def CAMERA_SOLVER(self, context, layout, con):