## Node issue

Posted in: NUKE from The FoundryI’m trying to build a gizmo based around the MarkerRemoval node – however i’ve found that it has a problem. If it’s given an alpha where there’s multiple points on the same horizontal line it appears to take it’s source for replacing anywhere on that line, rather than just adjacent to the individual alpha areas.

Kinda hard to explain, but I’ve included an example below.

Just wondering if anyone’s come across this before, or if anyone’s ever made their own marker removal style tool, with offset plates?

TIA

set cut_paste_input [stack 0]

version 6.1 v1

push $cut_paste_input

RotoPaint {

curves {AnimTree: "" {

Version: 1.2

Flag: 0

RootNode: 1

Node: {

NodeName: "Root" {

Flag: 512

NodeType: 1

Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1024 S 0 436

NumOfAttributes: 10

"vis" S 0 1 "opc" S 0 1 "mbo" S 0 1 "mb" S 0 1 "mbs" S 0 0.5 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0

}

NumOfChildren: 6

Node: {

NodeName: "Rectangle6" {

Flag: 576

NodeType: 3

CurveGroup: "" {

Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1629.3 S 0 283.1

Flag: 0

NumOfCubicCurves: 2

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1.13333 0 1 S 0 1627.6 S 0 284.8 0 1 S 0 1.1333 S 0 0 0 1 S 0 -1.1333 S 0 0 0 1 S 0 1631 S 0 284.8 0 1 S 0 0 S 0 -1.13333 0 1 S 0 0 S 0 1.13333 0 1 S 0 1631.8 S 0 280.6 0 1 S 0 -1.1333 S 0 0 0 1 S 0 1.1333 S 0 0 0 1 S 0 1627.6 S 0 281.4 0 1 S 0 0 S 0 1.13333 0

}

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1.13333 0 1 S 0 0 S 0 0 0 1 S 0 1.1333 S 0 0 0 1 S 0 -1.1333 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 -1.13333 0 1 S 0 0 S 0 1.13333 0 1 S 0 0 S 0 0 0 1 S 0 -1.1333 S 0 0 0 1 S 0 1.1333 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 1.13333 0

}

NumOfAttributes: 44

"vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 0 "spy" S 0 0 "stot" S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 2 "view1" S 0 1 "view2" S 0 2 "ltn" S 0 54 "ltm" S 0 54 "ltt" S 0 0 "tt" S 0 7

}

}

NumOfChildren: 0

}

Node: {

NodeName: "Rectangle5" {

Flag: 512

NodeType: 3

CurveGroup: "" {

Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1472 S 0 453.9

Flag: 0

NumOfCubicCurves: 2

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1.13333 0 1 S 0 1473.72 S 0 357.659 0 1 S 0 1.59998 S 0 0 0 1 S 0 -1.59998 S 0 0 0 1 S 0 1478.52 S 0 357.659 0 1 S 0 0 S 0 -1.13333 0 1 S 0 0 S 0 1.13333 0 1 S 0 1478.52 S 0 354.259 0 1 S 0 -1.59998 S 0 0 0 1 S 0 1.59998 S 0 0 0 1 S 0 1473.72 S 0 354.259 0 1 S 0 0 S 0 1.13333 0

}

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1.13333 0 1 S 0 0 S 0 0 0 1 S 0 1.59998 S 0 0 0 1 S 0 -1.59998 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 -1.13333 0 1 S 0 0 S 0 1.13333 0 1 S 0 0 S 0 0 0 1 S 0 -1.59998 S 0 0 0 1 S 0 1.59998 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 1.13333 0

}

NumOfAttributes: 44

"vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 1024 "spy" S 0 436 "stot" S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 2 "view1" S 0 1 "view2" S 0 2 "ltn" S 0 54 "ltm" S 0 54 "ltt" S 0 0 "tt" S 0 7

}

}

NumOfChildren: 0

}

Node: {

NodeName: "Rectangle4" {

Flag: 512

NodeType: 3

CurveGroup: "" {

Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1504.1 S 0 452.4

Flag: 0

NumOfCubicCurves: 2

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1.60001 0 1 S 0 1506.72 S 0 356.859 0 1 S 0 1 S 0 0 0 1 S 0 -1 S 0 0 0 1 S 0 1509.72 S 0 356.859 0 1 S 0 0 S 0 -1.60001 0 1 S 0 0 S 0 1.60001 0 1 S 0 1509.72 S 0 352.059 0 1 S 0 -1 S 0 0 0 1 S 0 1 S 0 0 0 1 S 0 1506.72 S 0 352.059 0 1 S 0 0 S 0 1.60001 0

}

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1.60001 0 1 S 0 0 S 0 0 0 1 S 0 1 S 0 0 0 1 S 0 -1 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 -1.60001 0 1 S 0 0 S 0 1.60001 0 1 S 0 0 S 0 0 0 1 S 0 -1 S 0 0 0 1 S 0 1 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 1.60001 0

}

NumOfAttributes: 44

"vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 1024 "spy" S 0 436 "stot" S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 2 "view1" S 0 1 "view2" S 0 2 "ltn" S 0 54 "ltm" S 0 54 "ltt" S 0 0 "tt" S 0 7

}

}

NumOfChildren: 0

}

Node: {

NodeName: "Rectangle3" {

Flag: 512

NodeType: 3

CurveGroup: "" {

Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1589.4 S 0 456.3

Flag: 0

NumOfCubicCurves: 2

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1 0 1 S 0 1590.92 S 0 360.059 0 1 S 0 1.33337 S 0 0 0 1 S 0 -1.33337 S 0 0 0 1 S 0 1595.52 S 0 359.859 0 1 S 0 0 S 0 -1 0 1 S 0 0 S 0 1 0 1 S 0 1595.52 S 0 356.859 0 1 S 0 -1.33337 S 0 0 0 1 S 0 1.33337 S 0 0 0 1 S 0 1591.52 S 0 356.859 0 1 S 0 0 S 0 1 0

}

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1 0 1 S 0 0 S 0 0 0 1 S 0 1.33337 S 0 0 0 1 S 0 -1.33337 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 -1 0 1 S 0 0 S 0 1 0 1 S 0 0 S 0 0 0 1 S 0 -1.33337 S 0 0 0 1 S 0 1.33337 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 1 0

}

NumOfAttributes: 44

"vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 1024 "spy" S 0 436 "stot" S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 2 "view1" S 0 1 "view2" S 0 2 "ltn" S 0 54 "ltm" S 0 54 "ltt" S 0 0 "tt" S 0 7

}

}

NumOfChildren: 0

}

Node: {

NodeName: "Rectangle2" {

Flag: 512

NodeType: 3

CurveGroup: "" {

Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1570.4 S 0 455.5

Flag: 0

NumOfCubicCurves: 2

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1 0 1 S 0 1572.72 S 0 359.059 0 1 S 0 1.19995 S 0 0 0 1 S 0 -1.19995 S 0 0 0 1 S 0 1576.32 S 0 359.059 0 1 S 0 0 S 0 -1 0 1 S 0 0 S 0 1 0 1 S 0 1576.32 S 0 356.059 0 1 S 0 -1.19995 S 0 0 0 1 S 0 1.19995 S 0 0 0 1 S 0 1572.72 S 0 356.059 0 1 S 0 0 S 0 1 0

}

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1 0 1 S 0 0 S 0 0 0 1 S 0 1.19995 S 0 0 0 1 S 0 -1.19995 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 -1 0 1 S 0 0 S 0 1 0 1 S 0 0 S 0 0 0 1 S 0 -1.19995 S 0 0 0 1 S 0 1.19995 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 1 0

}

NumOfAttributes: 44

"vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 1024 "spy" S 0 436 "stot" S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 2 "view1" S 0 1 "view2" S 0 2 "ltn" S 0 54 "ltm" S 0 54 "ltt" S 0 0 "tt" S 0 7

}

}

NumOfChildren: 0

}

Node: {

NodeName: "Rectangle1" {

Flag: 512

NodeType: 3

CurveGroup: "" {

Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1549.2 S 0 454.8

Flag: 0

NumOfCubicCurves: 2

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1.20001 0 1 S 0 1551.12 S 0 358.659 0 1 S 0 1.46667 S 0 0 0 1 S 0 -1.46667 S 0 0 0 1 S 0 1555.52 S 0 358.659 0 1 S 0 0 S 0 -1.20001 0 1 S 0 0 S 0 1.20001 0 1 S 0 1555.52 S 0 355.059 0 1 S 0 -1.46667 S 0 0 0 1 S 0 1.46667 S 0 0 0 1 S 0 1551.12 S 0 355.059 0 1 S 0 0 S 0 1.20001 0

}

CubicCurve: "" {

Type: 0 Flag: 8192 Dim: 2

NumOfPoints: 12

1 S 0 0 S 0 -1.20001 0 1 S 0 0 S 0 0 0 1 S 0 1.46667 S 0 0 0 1 S 0 -1.46667 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 -1.20001 0 1 S 0 0 S 0 1.20001 0 1 S 0 0 S 0 0 0 1 S 0 -1.46667 S 0 0 0 1 S 0 1.46667 S 0 0 0 1 S 0 0 S 0 0 0 1 S 0 0 S 0 1.20001 0

}

NumOfAttributes: 44

"vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 1024 "spy" S 0 436 "stot" S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 2 "view1" S 0 1 "view2" S 0 2 "ltn" S 0 54 "ltm" S 0 54 "ltt" S 0 0 "tt" S 0 7

}

}

NumOfChildren: 0

}

}

}

}

toolbox {selectAll {

{ createBezier tt 4 }

{ createBSpline tt 5 }

{ createEllipse tt 6 }

{ createRectangle tt 7 }

} }

toolbar_brush_hardness 0.200000003

toolbar_lifetime_type all

toolbar_source_transform_scale {1 1}

toolbar_source_transform_center {320 240}

lifetime_type "all frames"

lifetime_start 54

lifetime_end 54

center {1629.300049 283.1000061}

motionblur_shutter_offset_type centred

source_black_outside true

name RotoPaint3

selected true

xpos 404

ypos 1339

}

CheckerBoard2 {

inputs 0

name CheckerBoard1

selected true

xpos 505

ypos 1235

}

Copy {

inputs 2

from0 rgba.alpha

to0 rgba.alpha

name Copy3

selected true

xpos 505

ypos 1332

}

MarkerRemoval {

name MarkerRemoval2

selected true

xpos 505

ypos 1399

}

Crop {

box {1458.400024 230.3999939 1680.400024 470.3999939}

name Crop1

selected true

xpos 505

ypos 1437

}

## Post a Comment