- Posts: 47
- Joined: Wed Jan 24, 2018 6:45 pm
- Real Name: David Brown
In your case, if you put a modify with expression on say the red channel, doesn't the expression below work?
- Code: Select all
if(time>10 && time<20,1,0)
For me this works, so the background turns red between frames 10 & 20.
Example composition:
- Code: Select all
{
Tools = ordered() {
Background1 = Background {
CtrlWZoom = false,
Inputs = {
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftRed = Input {
SourceOp = "Expression1",
Source = "NumberResult",
},
},
ViewInfo = OperatorInfo { Pos = { 165, 181.5 } },
},
Expression1 = Expression {
CtrlWZoom = false,
Inputs = {
NumberExpression = Input { Value = "if(time>10 && time<20,1,0)", },
},
}
},
ActiveTool = "Background1"
}