- Posts: 765
- Joined: Tue Jul 09, 2013 6:58 pm
I have a simple flow of an alpha channel file from another compositor, and want to refine his edge control. I'm trying to use the ErodeDilate node, but not able to apply the Edge contraction back to the original file. Only way I found to do it, is to add a second loader of the same file.... is there a better way to accomplish this?
- Code: Select all
{
Tools = ordered() {
ChannelBooleans3 = ChannelBoolean {
Inputs = {
Operation = Input { Value = 4, },
ToAlpha = Input { Value = 4, },
Background = Input {
SourceOp = "ErodeDilate1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 508.024, 318.672, }, },
},
Loader1_1 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "V:\\_AE render\\Acuity EP8\\Ch3_Cyborg_MED_shot_003\\Ch3_Cyborg_MED_shot_003_00000.tif",
FormatID = "TiffFormat",
Length = 356,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 355,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 1,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 355,
},
},
Inputs = {
MaskChannel = Input { Value = 5, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
EffectMask = Input {
SourceOp = "ChannelBooleans3",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 657.484, 319.931, }, },
},
ErodeDilate1 = ErodeDilate {
CtrlWZoom = false,
Inputs = {
XAmount = Input { Value = -0.0009524, },
Input = Input {
SourceOp = "ChannelBooleans2",
Source = "Output",
},
EffectMask = Input {
SourceOp = "BSpline2",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { 343.343, 314.45, }, },
},
BSpline2 = BSplineMask {
DrawMode = "InsertAndModify",
DrawMode2 = "InsertAndModify",
Inputs = {
SoftEdge = Input { Value = 0.027619, },
Invert = Input { Value = 1, },
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Polyline = Input {
SourceOp = "BSpline2Polyline",
Source = "Value",
},
Polyline2 = Input {
Value = BSplinePolyline {
Order = 4,
Type = "Tensioned",
Knots = { },
},
Disabled = true,
},
},
ViewInfo = OperatorInfo { Pos = { 345.243, 256.73, }, },
},
BSpline2Polyline = BezierSpline {
SplineColor = { Red = 173, Green = 255, Blue = 47, },
NameSet = true,
KeyFrames = {
[529] = { 0, Flags = { Linear = true, LockedY = true, }, Value = BSplinePolyline {
Closed = true,
Points = {
{ X = -0.113207545591515, Y = 0.530534338086616, },
{ X = -0.119210977701544, Y = 0.315267175572519, },
{ X = -0.0900843465545419, Y = 0.239122637770848, },
{ X = -0.0138759442816881, Y = 0.191794393496039, },
{ X = 0.0804970729165084, Y = 0.213122005307885, },
{ X = 0.129152942009846, Y = 0.257131820492601, },
{ X = 0.131217838765009, Y = 0.287786259541985, },
{ X = 0.10548885077187, Y = 0.391603053435114, },
{ X = 0.0900514579759862, Y = 0.452671755725191, },
{ X = 0.0857632905244827, Y = 0.481679379940033, },
{ X = 0.0257289879931389, Y = 0.512213740458015, },
{ X = -0.0154373927958834, Y = 0.509160305343511, },
},
Order = 4,
Type = "Tensioned",
Knots = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, },
}, },
},
},
ChannelBooleans2 = ChannelBoolean {
Inputs = {
ToRed = Input { Value = 3, },
ToGreen = Input { Value = 3, },
ToBlue = Input { Value = 3, },
ToAlpha = Input { Value = 4, },
Background = Input {
SourceOp = "Loader1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 185.353, 316.51, }, },
},
Loader1 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "V:\\_AE render\\Acuity EP8\\Ch3_Cyborg_MED_shot_003\\Ch3_Cyborg_MED_shot_003_00000.tif",
FormatID = "TiffFormat",
Length = 356,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 355,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 1,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 355,
},
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
},
ViewInfo = OperatorInfo { Pos = { 45.2017, 319.931, }, },
},
},
}