Tue Mar 29, 2016 11:28 pm
I'm pretty sure he wanted it to be automatic. Here is the expression to apply:
- Code: Select all
{
Tools = ordered() {
Shape3D1 = Shape3D {
CtrlWZoom = false,
Inputs = {
["Transform3DOp.Translate.Y"] = Input {
Value = 1.66666666666667,
Expression = "SurfaceCylinderInputs.Height/2",
},
["Transform3DOp.PivotNest"] = Input { Value = 1, },
["Transform3DOp.Pivot.Y"] = Input {
Value = -1.66666666666667,
Expression = "Transform3DOp.Translate.Y*-1",
},
Shape = Input { Value = FuID { "SurfaceCylinderInputs" }, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["SurfaceCylinderInputs.Height"] = Input { Value = 3.33333333333333, },
["SurfaceCylinderInputs.ObjectID.ObjectID"] = Input { Value = 2, }
},
ViewInfo = OperatorInfo { Pos = { 792, 317 } },
}
}
}
The science behind it is:
you take 1/2 of Y scale(or Height) of an object and link it to Y transform.
__
--[[BMD's cameras and Resolve all-post workflow evangelist
My old stuff: http://www.youtube.com/rebelorelse
Debug: Asus ROG Duo GX550 i9 10980 48Gb RAM RTX2080MaxQ DaVinci Resolve Studio / Fusion Studio Latest Version]]--