- Posts: 458
- Joined: Tue May 21, 2019 3:05 pm
- Real Name: Roger Smith
In the following example, I've created an sShape that is a white rectangle having 7 red stars on top of the white strip.
I want to mask part of it, and tried to use the sBoolean to 'intersection' formed by an sEllipse over the white-strip-stars.
But the output of the sBoolean is only the sEllipse over the white rectangle. Specifically, the sBoolean ignores the red stars.
(I know how to use conventional masks outside of the sShapes vector environment, but am wanting to use a mask inside the sShapes environment. This is so that I can magnify the size without the image becoming a bit-mapped mass of fuzz.
Is there any way to do masking inside the sShape environment prior to it being sRendered?
(In the example, in the sBoolean node, swapping the foreground and background inputs does not make a difference).
I wonder if there have been extra features added in Davinci 19?
I want to mask part of it, and tried to use the sBoolean to 'intersection' formed by an sEllipse over the white-strip-stars.
But the output of the sBoolean is only the sEllipse over the white rectangle. Specifically, the sBoolean ignores the red stars.
(I know how to use conventional masks outside of the sShapes vector environment, but am wanting to use a mask inside the sShapes environment. This is so that I can magnify the size without the image becoming a bit-mapped mass of fuzz.
Is there any way to do masking inside the sShape environment prior to it being sRendered?
(In the example, in the sBoolean node, swapping the foreground and background inputs does not make a difference).
I wonder if there have been extra features added in Davinci 19?
- boolean.png (461 KiB) Viewed 693 times
- Code: Select all
{
Tools = ordered() {
sBoolean1 = sBoolean {
CtrlWZoom = false,
Inputs = {
Input1 = Input {
SourceOp = "sMerge2",
Source = "Output",
},
Input2 = Input {
SourceOp = "sEllipse1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -1320, 379.5 } },
},
sMerge2 = sMerge {
Inputs = {
Input1 = Input {
SourceOp = "sRectangle1",
Source = "Output",
},
Input2 = Input {
SourceOp = "sDuplicate1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -1522.36, 313.5 } },
},
sRectangle1 = sRectangle {
Inputs = {
Width = Input { Value = 0.835, },
Height = Input { Value = 0.15, },
},
ViewInfo = OperatorInfo { Pos = { -1687.36, 313.5 } },
},
sDuplicate1 = sDuplicate {
Inputs = {
Copies = Input { Value = 5, },
XOffset = Input { Value = 0.124, },
Input = Input {
SourceOp = "sStar2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -1522.36, 247.5 } },
},
sEllipse1 = sEllipse {
ViewInfo = OperatorInfo { Pos = { -1155, 313.5 } },
},
sRender1 = sRender {
Inputs = {
GlobalOut = Input { Value = 124, },
Width = Input { Value = 3840, },
Height = Input { Value = 2160, },
UseFrameFormatSettings = Input { Value = 1, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
Input = Input {
SourceOp = "sBoolean1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -1320, 445.5 } },
},
Merge6 = Merge {
Inputs = {
Background = Input {
SourceOp = "Background1_1",
Source = "Output",
},
Foreground = Input {
SourceOp = "sRender1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { -1320, 511.5 } },
},
Background1_1 = Background {
Inputs = {
GlobalOut = Input { Value = 124, },
Width = Input { Value = 3840, },
Height = Input { Value = 2160, },
UseFrameFormatSettings = Input { Value = 1, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftAlpha = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { -1650, 511.5 } },
},
sStar2 = sStar {
Inputs = {
Points = Input { Value = 14, },
["Translate.X"] = Input { Value = -0.283, },
Width = Input { Value = 0.142, },
Height = Input {
Value = 0.142,
Expression = "Width",
},
Green = Input { Value = 0.149019607843137, },
Blue = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { -1522.36, 181.5 } },
},
MediaOut1 = MediaOut {
Inputs = {
Index = Input { Value = "0", },
Input = Input {
SourceOp = "Merge6",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -1100, 511.5 } },
},
Note1 = Note {
Inputs = {
Comments = Input { Value = "White strip with red stars", }
},
ViewInfo = StickyNoteInfo {
Pos = { -1760, 141.197 },
Flags = {
Expanded = true
},
Size = { 397.964, 221.667 }
},
}
},
ActiveTool = "sBoolean1"
}