PurpleGreen effect

https://www.reddit.com/r/davinciresolve/comments/1oq72kl/how_to_make_this_effect_in_davinci/
 avatar
JustCropIt
plain_text
a month ago
13 kB
16
No Index
{
	Tools = ordered() {
		Bitmap_Luma = BitmapMask {
			NameSet = true,
			Inputs = {
				Filter = Input { Value = FuID { "Fast Gaussian" }, },
				MaskWidth = Input { Value = 1920, },
				MaskHeight = Input { Value = 1080, },
				PixelAspect = Input { Value = { 1, 1 }, },
				ClippingMode = Input { Value = FuID { "None" }, },
				Image = Input {
					SourceOp = "PipeRouter3",
					Source = "Output",
				},
				Channel = Input { Value = FuID { "Luminance" }, }
			},
			ViewInfo = OperatorInfo { Pos = { 1870, -1798.5 } },
		},
		ChannelBooleans1_4 = ChannelBoolean {
			NameSet = true,
			CustomData = {
				Settings = {
				},
			},
			Inputs = {
				ToRed = Input { Value = 30, },
				ToGreen = Input { Value = 30, },
				ToBlue = Input { Value = 30, },
				ToAlpha = Input { Value = 4, },
				ToXNormal = Input { Value = 5, },
				ToYNormal = Input { Value = 6, },
				ToZNormal = Input { Value = 7, },
				Background = Input {
					SourceOp = "PipeRouter3",
					Source = "Output",
				},
				Matte = Input {
					SourceOp = "Bitmap_Luma",
					Source = "Mask",
				}
			},
			ViewInfo = OperatorInfo { Pos = { 1870, -1732.5 } },
		},
		PipeRouter3 = PipeRouter {
			ViewInfo = PipeRouterInfo { Pos = { 1760, -1897.5 } },
		},
		Merge_HardLight = Merge {
			NameSet = true,
			Inputs = {
				Background = Input {
					SourceOp = "Background_PurpleB",
					Source = "Output",
				},
				Foreground = Input {
					SourceOp = "ChannelBooleans1_4",
					Source = "Output",
				},
				ApplyMode = Input { Value = FuID { "Hard Light" }, },
				PerformDepthMerge = Input { Value = 0, }
			},
			ViewInfo = OperatorInfo { Pos = { 1870, -1666.5 } },
		},
		Background_PurpleB = Background {
			NameSet = true,
			Inputs = {
				MaskChannel = Input { Value = 1, },
				MaskLow = Input { Value = 0.55, },
				GlobalOut = Input { Value = 240, },
				["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
				TopLeftRed = Input { Value = 0.68, },
				TopLeftBlue = Input { Value = 1, },
				Width = Input {
					Value = 944,
					Expression = "PipeRouter3.Output.OriginalWidth",
				},
				Height = Input {
					Value = 514,
					Expression = "PipeRouter3.Output.OriginalHeight",
				}
			},
			ViewInfo = OperatorInfo { Pos = { 1980, -1666.5 } },
			UserControls = ordered() {
				ImageNest = {
					LBLC_DropDownButton = true,
					LINKID_DataType = "Number",
					INP_External = false,
					INPID_InputControl = "NestControl",
					LBLC_NumInputs = 5,
					INP_Passive = true,
					ICS_ControlPage = "Color",
					LINKS_Name = "Image",
				},
				Width = {
					INP_MaxAllowed = 32767,
					INP_Integer = true,
					INPID_InputControl = "SliderControl",
					IC_Steps = 4097,
					INP_MaxScale = 4096,
					INP_Default = 1080,
					INP_MinScale = 1,
					INP_MinAllowed = 1,
					LINKID_DataType = "Number",
					ICS_ControlPage = "Color",
					INP_SplineType = "Default",
					LINKS_Name = "Width"
				},
				Height = {
					INP_MaxAllowed = 32767,
					INP_Integer = true,
					INPID_InputControl = "SliderControl",
					IC_Steps = 4097,
					INP_MaxScale = 4096,
					INP_Default = 1080,
					INP_MinScale = 2,
					INP_MinAllowed = 2,
					LINKID_DataType = "Number",
					ICS_ControlPage = "Color",
					INP_SplineType = "Default",
					LINKS_Name = "Height"
				},
				PixelAspect = {
					INP_DefaultX = 1,
					INP_DefaultY = 1,
					LINKID_DataType = "Point",
					ICS_ControlPage = "Color",
					INPID_InputControl = "OffsetControl",
					LINKS_Name = "Pixel Aspect",
				},
				UseFrameFormatSettings = {
					INP_MaxAllowed = 1000000,
					INP_Integer = false,
					INPID_InputControl = "CheckboxControl",
					INP_MaxScale = 1,
					INP_Default = 0,
					INP_MinAllowed = -1000000,
					INP_MinScale = 0,
					INP_External = false,
					LINKID_DataType = "Number",
					INP_SplineType = "Default",
					CBC_TriState = false,
					ICS_ControlPage = "Color",
					LINKS_Name = "Use Frame Format Settings"
				},
				Depth = {
					{ MBTNC_AddButton = "Default" },
					{ MBTNC_AddButton = "int8" },
					{ MBTNC_AddButton = "int16" },
					{ MBTNC_AddButton = "float16" },
					{ MBTNC_AddButton = "float32" },
					INP_MaxAllowed = 4,
					INP_Integer = false,
					INPID_InputControl = "MultiButtonControl",
					ICS_ControlPage = "Color",
					MBTNC_ShowBasicButton = false,
					INP_MaxScale = 4,
					INP_Default = 0,
					INP_SplineType = "Default",
					INP_MinScale = 0,
					INP_MinAllowed = 0,
					LINKID_DataType = "Number",
					MBTNC_ShowName = false,
					MBTNC_StretchToFit = true,
					MBTNC_ShowToolTip = false,
					LINKS_Name = "Depth"
				}
			}
		},
		Background_Green = Background {
			NameSet = true,
			Inputs = {
				EffectMask = Input {
					SourceOp = "CreateBumpMap",
					Source = "Output",
				},
				ApplyMaskInverted = Input { Value = 1, },
				MaskChannel = Input { Value = 0, },
				MaskHigh = Input { Value = 0.45, },
				GlobalOut = Input { Value = 240, },
				["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
				TopLeftGreen = Input { Value = 1, },
				Width = Input {
					Value = 944,
					Expression = "PipeRouter3.Output.OriginalWidth",
				},
				Height = Input {
					Value = 514,
					Expression = "PipeRouter3.Output.OriginalHeight",
				},
				Depth = Input { Value = 3, }
			},
			ViewInfo = OperatorInfo { Pos = { 1650, -1732.5 } },
			UserControls = ordered() {
				ImageNest = {
					LBLC_DropDownButton = true,
					LINKID_DataType = "Number",
					INP_External = false,
					INPID_InputControl = "NestControl",
					LBLC_NumInputs = 5,
					INP_Passive = true,
					ICS_ControlPage = "Color",
					LINKS_Name = "Image",
				},
				Width = {
					INP_MaxAllowed = 32767,
					INP_Integer = true,
					INPID_InputControl = "SliderControl",
					IC_Steps = 4097,
					INP_MaxScale = 4096,
					INP_Default = 1080,
					INP_MinScale = 1,
					INP_MinAllowed = 1,
					LINKID_DataType = "Number",
					ICS_ControlPage = "Color",
					INP_SplineType = "Default",
					LINKS_Name = "Width"
				},
				Height = {
					INP_MaxAllowed = 32767,
					INP_Integer = true,
					INPID_InputControl = "SliderControl",
					IC_Steps = 4097,
					INP_MaxScale = 4096,
					INP_Default = 1080,
					INP_MinScale = 2,
					INP_MinAllowed = 2,
					LINKID_DataType = "Number",
					ICS_ControlPage = "Color",
					INP_SplineType = "Default",
					LINKS_Name = "Height"
				},
				PixelAspect = {
					INP_DefaultX = 1,
					INP_DefaultY = 1,
					LINKID_DataType = "Point",
					ICS_ControlPage = "Color",
					INPID_InputControl = "OffsetControl",
					LINKS_Name = "Pixel Aspect",
				},
				UseFrameFormatSettings = {
					INP_MaxAllowed = 1000000,
					INP_Integer = false,
					INPID_InputControl = "CheckboxControl",
					INP_MaxScale = 1,
					INP_Default = 0,
					INP_MinAllowed = -1000000,
					INP_MinScale = 0,
					INP_External = false,
					LINKID_DataType = "Number",
					INP_SplineType = "Default",
					CBC_TriState = false,
					ICS_ControlPage = "Color",
					LINKS_Name = "Use Frame Format Settings"
				},
				Depth = {
					{ MBTNC_AddButton = "Default" },
					{ MBTNC_AddButton = "int8" },
					{ MBTNC_AddButton = "int16" },
					{ MBTNC_AddButton = "float16" },
					{ MBTNC_AddButton = "float32" },
					INP_MaxAllowed = 4,
					INP_Integer = false,
					INPID_InputControl = "MultiButtonControl",
					ICS_ControlPage = "Color",
					MBTNC_ShowBasicButton = false,
					INP_MaxScale = 4,
					INP_Default = 0,
					INP_SplineType = "Default",
					INP_MinScale = 0,
					INP_MinAllowed = 0,
					LINKID_DataType = "Number",
					MBTNC_ShowName = false,
					MBTNC_StretchToFit = true,
					MBTNC_ShowToolTip = false,
					LINKS_Name = "Depth"
				}
			}
		},
		MatteControl_Solid = MatteControl {
			NameSet = true,
			Inputs = {
				MatteCombine = Input { Value = 5, },
				Filter = Input { Value = FuID { "Fast Gaussian" }, },
				PostMultiplyImage = Input { Value = 1, },
				Background = Input {
					SourceOp = "Merge_Add",
					Source = "Output",
				}
			},
			ViewInfo = OperatorInfo { Pos = { 1595, -1600.5 } },
		},
		Merge_Add = Merge {
			NameSet = true,
			Inputs = {
				Background = Input {
					SourceOp = "Background_Purple",
					Source = "Output",
				},
				Foreground = Input {
					SourceOp = "Background_Green",
					Source = "Output",
				},
				Gain = Input { Value = 0, },
				PerformDepthMerge = Input { Value = 0, }
			},
			ViewInfo = OperatorInfo { Pos = { 1595, -1666.5 } },
		},
		CreateBumpMap = CreateBumpMap {
			NameSet = true,
			Inputs = {
				FilterSize = Input { Value = FuID { "5" }, },
				Input = Input {
					SourceOp = "PipeRouter3",
					Source = "Output",
				},
				HeightScale = Input { Value = 50, }
			},
			ViewInfo = OperatorInfo { Pos = { 1595, -1798.5 } },
		},
		TriColor = Underlay {
			NameSet = true,
			ViewInfo = UnderlayInfo {
				Pos = { 1916.01, -1812.88 },
				Size = { 264.03, 262.575 }
			},
			Colors = { TileColor = { R = 0.913725490196078, G = 0.549019607843137, B = 0.709803921568627 }, }
		},
		Background_Purple = Background {
			NameSet = true,
			Inputs = {
				EffectMask = Input {
					SourceOp = "CreateBumpMap",
					Source = "Output",
				},
				MaskChannel = Input { Value = 1, },
				MaskLow = Input { Value = 0.55, },
				GlobalOut = Input { Value = 240, },
				["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
				TopLeftRed = Input { Value = 0.68, },
				TopLeftBlue = Input { Value = 1, },
				Width = Input {
					Value = 944,
					Expression = "PipeRouter3.Output.OriginalWidth",
				},
				Height = Input {
					Value = 514,
					Expression = "PipeRouter3.Output.OriginalHeight",
				},
				Depth = Input { Value = 3, }
			},
			ViewInfo = OperatorInfo { Pos = { 1540, -1732.5 } },
			UserControls = ordered() {
				ImageNest = {
					INP_External = false,
					INPID_InputControl = "NestControl",
					LBLC_DropDownButton = true,
					ICS_ControlPage = "Color",
					LBLC_NumInputs = 5,
					INP_Passive = true,
					LINKID_DataType = "Number",
					LINKS_Name = "Image",
				},
				Width = {
					INP_MaxAllowed = 32767,
					INP_Integer = true,
					INPID_InputControl = "SliderControl",
					IC_Steps = 4097,
					INP_MaxScale = 4096,
					INP_Default = 1080,
					INP_MinScale = 1,
					INP_MinAllowed = 1,
					LINKID_DataType = "Number",
					ICS_ControlPage = "Color",
					INP_SplineType = "Default",
					LINKS_Name = "Width"
				},
				Height = {
					INP_MaxAllowed = 32767,
					INP_Integer = true,
					INPID_InputControl = "SliderControl",
					IC_Steps = 4097,
					INP_MaxScale = 4096,
					INP_Default = 1080,
					INP_MinScale = 2,
					INP_MinAllowed = 2,
					LINKID_DataType = "Number",
					ICS_ControlPage = "Color",
					INP_SplineType = "Default",
					LINKS_Name = "Height"
				},
				PixelAspect = {
					INP_DefaultX = 1,
					INP_DefaultY = 1,
					LINKID_DataType = "Point",
					ICS_ControlPage = "Color",
					INPID_InputControl = "OffsetControl",
					LINKS_Name = "Pixel Aspect",
				},
				UseFrameFormatSettings = {
					INP_MaxAllowed = 1000000,
					INP_Integer = false,
					INPID_InputControl = "CheckboxControl",
					INP_MaxScale = 1,
					INP_Default = 0,
					INP_External = false,
					INP_MinScale = 0,
					INP_MinAllowed = -1000000,
					LINKID_DataType = "Number",
					ICS_ControlPage = "Color",
					CBC_TriState = false,
					INP_SplineType = "Default",
					LINKS_Name = "Use Frame Format Settings"
				},
				Depth = {
					{ MBTNC_AddButton = "Default" },
					{ MBTNC_AddButton = "int8" },
					{ MBTNC_AddButton = "int16" },
					{ MBTNC_AddButton = "float16" },
					{ MBTNC_AddButton = "float32" },
					INP_MaxAllowed = 4,
					INP_Integer = false,
					INPID_InputControl = "MultiButtonControl",
					ICS_ControlPage = "Color",
					MBTNC_ShowBasicButton = false,
					INP_MaxScale = 4,
					INP_Default = 0,
					INP_SplineType = "Default",
					INP_MinScale = 0,
					INP_MinAllowed = 0,
					LINKID_DataType = "Number",
					MBTNC_ShowName = false,
					MBTNC_StretchToFit = true,
					MBTNC_ShowToolTip = false,
					LINKS_Name = "Depth"
				}
			}
		},
		SoftGlow = SoftGlow {
			NameSet = true,
			Inputs = {
				Filter = Input { Value = FuID { "Fast Gaussian" }, },
				Threshold = Input { Value = 0.2, },
				Gain = Input { Value = 4, },
				XGlowSize = Input { Value = 50, },
				Input = Input {
					SourceOp = "MatteControl_Solid",
					Source = "Output",
				}
			},
			ViewInfo = OperatorInfo { Pos = { 1650, -1534.5 } },
		},
		Merge = Merge {
			NameSet = true,
			Inputs = {
				Background = Input {
					SourceOp = "Merge_HardLight",
					Source = "Output",
				},
				Foreground = Input {
					SourceOp = "SoftGlow",
					Source = "Output",
				},
				ApplyMode = Input { Value = FuID { "Hard Light" }, },
				PerformDepthMerge = Input { Value = 0, }
			},
			ViewInfo = OperatorInfo { Pos = { 1760, -1468.5 } },
		},
		S_EdgeColorize = Underlay {
			NameSet = true,
			ViewInfo = UnderlayInfo {
				Pos = { 1595, -1814.16 },
				Size = { 282, 271.196 }
			},
			Colors = { TileColor = { R = 0.584313725490196, G = 0.294117647058824, B = 0.803921568627451 }, }
		}
	}
}
Editor is loading...