I do miss changing numeric fields with some kind of click and drag (I used this a lot in Combustion).
If someone knows an easier way to do this I will feel a bit stupid but I managed to achieve this by adding an expression modifier on the pivot and the center, and associating the values to slider controls, than can be acessed inside the modifiers tab.
I added a point control too, in order to keep the possibility to drag the points inside the view.
Like this:
- Code: Select all
{
Tools = ordered() {
Background1 = Background {
Inputs = {
Width = Input { Value = 3840, },
Height = Input { Value = 2160, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
Type = Input { Value = FuID { "Corner", }, },
TopLeftRed = Input { Value = 0.517141432124224, },
TopRightGreen = Input { Value = 0.288500812294216, },
BottomLeftBlue = Input { Value = 0.280527580073447, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
},
ViewInfo = OperatorInfo { Pos = { 880, 82.5, }, },
},
Transform4 = Transform {
CtrlWZoom = false,
Inputs = {
Center = Input {
SourceOp = "Center_Controls",
Source = "PointResult",
},
Pivot = Input {
SourceOp = "Pivot_Controls",
Source = "PointResult",
},
Input = Input {
SourceOp = "Background1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1045, 82.5, }, },
},
Center_Controls = Expression {
CtrlWZoom = false,
NameSet = true,
Inputs = {
PointExpressionX = Input { Value = "n1+p1X", },
PointExpressionY = Input { Value = "n2+p1Y", },
NameforNumber1 = Input { Value = "Center_X", },
NameforNumber2 = Input { Value = "Center_Y", },
ShowNumber3 = Input { Value = 0, },
ShowNumber4 = Input { Value = 0, },
ShowNumber5 = Input { Value = 0, },
ShowNumber6 = Input { Value = 0, },
ShowNumber7 = Input { Value = 0, },
ShowNumber8 = Input { Value = 0, },
ShowNumber9 = Input { Value = 0, },
PointControls = Input { Value = 1, },
NameforPoint1 = Input { Value = "Point_Center", },
ShowPoint2 = Input { Value = 0, },
NameforPoint2 = Input { Value = "", },
ShowPoint3 = Input { Value = 0, },
ShowPoint4 = Input { Value = 0, },
ShowPoint5 = Input { Value = 0, },
ShowPoint6 = Input { Value = 0, },
ShowPoint7 = Input { Value = 0, },
ShowPoint8 = Input { Value = 0, },
ShowPoint9 = Input { Value = 0, },
},
},
Pivot_Controls = Expression {
CtrlWZoom = false,
NameSet = true,
Inputs = {
PointExpressionX = Input { Value = "n1+p1X", },
PointExpressionY = Input { Value = "n2+p1Y", },
NumberControls = Input { Value = 1, },
NameforNumber1 = Input { Value = "Pivot_X", },
NameforNumber2 = Input { Value = "Pivot_Y", },
ShowNumber3 = Input { Value = 0, },
ShowNumber4 = Input { Value = 0, },
ShowNumber5 = Input { Value = 0, },
ShowNumber6 = Input { Value = 0, },
ShowNumber7 = Input { Value = 0, },
ShowNumber8 = Input { Value = 0, },
ShowNumber9 = Input { Value = 0, },
PointControls = Input { Value = 1, },
NameforPoint1 = Input { Value = "Pivot_Center", },
ShowPoint2 = Input { Value = 0, },
NameforPoint2 = Input { Value = "", },
ShowPoint3 = Input { Value = 0, },
ShowPoint4 = Input { Value = 0, },
ShowPoint5 = Input { Value = 0, },
ShowPoint6 = Input { Value = 0, },
ShowPoint7 = Input { Value = 0, },
ShowPoint8 = Input { Value = 0, },
ShowPoint9 = Input { Value = 0, },
},
},
},
}
Note that you can still access the transform handles inside de view, by clicking on the triangle and selecting the modifiers' points
If you want this to become the normal behavior of the transform tool, it can be "saved as default".
Then, anytime you add a transform tool it will come with these modifiers.