- Posts: 765
- Joined: Tue Jul 09, 2013 6:58 pm
I had this working awhile ago and think I must have moved something in my flow, as I can't get masking to work from a Material ID render pass from a 3D render. i have the Material ID render pass piped into a ChannelBooleans, and out put to a bitmap mask, and the bit map mask into a mask of the object I want maked by the color information of the material ID render.... anything I'm missing?
- Code: Select all
{
Tools = ordered() {
ChannelBooleans1_1 = ChannelBoolean {
CtrlWZoom = false,
Inputs = {
ToRed = Input { Value = 4, },
ToGreen = Input { Value = 4, },
ToBlue = Input { Value = 4, },
ToAlpha = Input { Value = 4, },
EnableExtraChannels = Input { Value = 1, },
ToObjectID = Input { Value = 9, },
ToMaterialID = Input { Value = 11, },
Background = Input {
SourceOp = "Loader2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 804.909, -92.861, }, },
},
Loader2 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "V:\\_3D render\\Acuity_EP9and10\\Acuity_EP9and10_Intro\\Dp9_Intro_Renders_0825\\Ani_shot_001_v1_MatIDandZdepth_00000000.psd",
FormatID = "PSDFormat",
Length = 38,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 37,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 1,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 37,
},
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
["Clip1.PSDFormat.Layer"] = Input { Value = 2, },
},
ViewInfo = OperatorInfo { Pos = { 784.209, -148.525, }, },
},
Bitmap2 = BitmapMask {
Inputs = {
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Image = Input {
SourceOp = "ChannelBooleans1_1",
Source = "Output",
},
Channel = Input { Value = FuID { "Luminance", }, },
UseObject = Input { Value = 1, },
UseMaterial = Input { Value = 1, },
Object = Input { Value = 54614, },
Material = Input { Value = 21844, },
},
ViewInfo = OperatorInfo { Pos = { 826.812, -49.2468, }, },
},
},
}