- Posts: 5
- Joined: Sun Feb 18, 2018 9:34 am
- Real Name: Anders Egis
Feed the vectorMB node with a timestretcher where the timestretcher is set to either return only even or odd frames. The expression you could use (for even): iif(time%2==0,time,time-1)
Now, as the vectorMB node doesn't have the option to generate blur only (as opposed to original image with blur applied to it), you'll need to extract it. You can do this by using a channel boolean: set it to "subtract" and feed it with the VectorMB node and the time stretcher node. Result of all this is that this will generate the blur of the input stream, and this will change every other frame.
In the last step you can then use another channel boolean and set it to "add" and feed this with the first channel boolean and the original image input (the one before the time stretcher).
This should do the trick.... but as said, there are probably more efficient methods!
Example below (replace the placeholder node with your image input)
- Code: Select all
{
Tools = ordered() {
Placeholder = Background {
CtrlWZoom = false,
NameSet = true,
Inputs = {
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { 412, 251 } },
},
TimeStretcher1 = TimeStretcher {
Inputs = {
SourceTime = Input {
SourceOp = "TimeStretcher1SourceTime",
Source = "Value",
Expression = "iif(time%2==0,time,time-1)",
},
Input = Input {
SourceOp = "Placeholder",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 614, 252 } },
},
TimeStretcher1SourceTime = BezierSpline {
SplineColor = { Red = 233, Green = 217, Blue = 243 },
NameSet = true,
KeyFrames = {
[192] = { 0, Flags = { Linear = true } }
}
},
VectorMotionBlur1 = VectorMotionBlur {
Inputs = {
Input = Input {
SourceOp = "TimeStretcher1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 763, 252 } },
},
ChannelBooleans1 = ChannelBoolean {
Inputs = {
Operation = Input { Value = 2, },
Background = Input {
SourceOp = "VectorMotionBlur1",
Source = "Output",
},
Foreground = Input {
SourceOp = "PipeRouter2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 892, 248 } },
},
PipeRouter2 = PipeRouter {
Inputs = {
Input = Input {
SourceOp = "TimeStretcher1",
Source = "Output",
},
},
ViewInfo = PipeRouterInfo { Pos = { 871, 159 } },
},
ChannelBooleans2 = ChannelBoolean {
Inputs = {
Operation = Input { Value = 1, },
Background = Input {
SourceOp = "Placeholder",
Source = "Output",
},
Foreground = Input {
SourceOp = "ChannelBooleans1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 911, 369 } },
}
}
}