DeeplGlow

 avatar
htomi
plain_text
6 months ago
4.9 kB
2
Indexable
Never
set cut_paste_input [stack 0]
version 14.0 v2
push $cut_paste_input
Group {
 name DeepGlow_bugfixed
 tile_color 0x115b11ff
 selected true
 xpos -638
 ypos -70
 addUserKnob {20 User}
 addUserKnob {41 ccontrast l contrast T dContrast4.ccontrast}
 addUserKnob {41 cgamma l gamma T dContrast4.cgamma}
 addUserKnob {41 cgain l gain T dContrast4.cgain}
 addUserKnob {41 satmix T dContrast4.satmix}
 addUserKnob {41 switchgaingamma l "contrast->gain->gamma (Grade node)" T dContrast4.switchgaingamma}
 addUserKnob {41 unprem l unpremult T dContrast4.unprem}
 addUserKnob {26 ""}
 addUserKnob {41 disableCrop l "Disable Crop" T DSoftGlow19.disableCrop}
 addUserKnob {26 ""}
 addUserKnob {41 SGMix l mix T DSoftGlow19.SGMix}
 addUserKnob {41 SGBlur T DSoftGlow19.SGBlur}
 addUserKnob {41 Bluraspect l aspect T DSoftGlow19.Bluraspect}
 addUserKnob {41 SGblurmix T DSoftGlow19.SGblurmix}
}
 Input {
  inputs 0
  name DeepInput
  xpos 477
  ypos 417
 }
 Dot {
  name Dot736
  xpos 511
  ypos 460
 }
 DeepToImage {
  name DeepToImage34
  tile_color 0x5581e8ff
  xpos 477
  ypos 486
 }
 Dot {
  name Dot413
  xpos 511
  ypos 537
 }
set N3b84400 [stack 0]
 dContrast {
  name dContrast4
  note_font Verdana
  xpos 566
  ypos 534
  ccontrast 1.28
  cgain 2.21
  maskChannelMask -rgba.alpha
 }
 DSoftGlow {
  name DSoftGlow19
  xpos 566
  ypos 563
  SGBlur 110
  SGblurmix 0.225
 }
 Crop {
  box {0 0 {width} {height}}
  crop false
  name Crop1
  xpos 566
  ypos 587
 }
push $N3b84400
 Group {
  inputs 2
  name DeepD2DFiltersToDeep
  tile_color 0xd87800ff
  selected true
  xpos 477
  ypos 646
  addUserKnob {20 Deep2DFilters l DeepD2DFiltersToDeep}
  addUserKnob {41 glowdepth l "glowdepth+/- %" T DeepExpression1.glowdepth}
  addUserKnob {26 glowinfo l "" +STARTLINE T "generate a Deepvolume from a filtered 2D image.\nPut it back the original depth with 95%..105% volumetric depth ramp "}
 }
  Input {
   inputs 0
   name from_2Dfilter
   xpos 558
   ypos 436
   number 1
  }
  Input {
   inputs 0
   name from_deeptoimage
   xpos 365
   ypos 181
  }
  Dot {
   name Dot1
   xpos 399
   ypos 205
  }
set N3c9bc00 [stack 0]
  Expression {
   expr0 min(r,g,b,a)>0?100:0
   name Expression1
   xpos 542
   ypos 200
  }
  Reformat {
   type "to box"
   box_width 100
   box_height 100
   box_fixed true
   resize distort
   name Reformat3
   xpos 542
   ypos 224
  }
  FilterErode {
   channels rgb
   size -100
   name FilterErode1
   xpos 542
   ypos 248
  }
  Clamp {
   name Clamp2
   xpos 590
   ypos 285
  }
  Reformat {
   name Reformat2
   xpos 590
   ypos 321
  }
push $N3c9bc00
  Rectangle {
   output alpha
   replace true
   area {0 0 1 1}
   name Rectangle1
   xpos 456
   ypos 244
  }
  Clamp {
   channels deep
   maximum 1000000
   MaxClampTo 0
   MaxClampTo_enable true
   name Clamp3
   xpos 456
   ypos 280
  }
push $N3c9bc00
  Clamp {
   channels deep
   maximum 1000000
   MaxClampTo 0
   MaxClampTo_enable true
   name Clamp1
   xpos 365
   ypos 254
  }
  Dissolve {
   inputs 2+1
   which 1
   maskChannelMask rgba.red
   invert_mask true
   name Dissolve1
   xpos 366
   ypos 315
  }
  Expression {
   expr0 "a>0 ? deep.front :0"
   channel1 {-rgba.red rgba.green rgba.blue none}
   expr1 "a>0 ? deep.back :0"
   channel3 alpha
   expr3 "a>0 ? 1 :0"
   name Expression4
   xpos 366
   ypos 358
  }
  EdgeExtend {
   useGPUIfAvailable false
   sourceIsPremultiplied true
   erode -39
   premultiply false
   name EdgeExtend2
   xpos 366
   ypos 405
  }
add_layer {deeprgb deeprgb.red deeprgb.green deeprgb.blue deeprgb.alpha}
  Shuffle2 {
   inputs 2
   fromInput1 {{0} B A}
   out1 deeprgb
   fromInput2 {{1} B A}
   in2 rgba
   out2 rgba
   mappings "8 rgba.red 0 0 deeprgb.red 0 0 rgba.green 0 1 deeprgb.green 0 1 rgba.blue 0 2 deeprgb.blue 0 2 rgba.alpha 0 3 deeprgb.alpha 0 3 rgba.red 1 0 rgba.red 1 0 rgba.green 1 1 rgba.green 1 1 rgba.blue 1 2 rgba.blue 1 2 rgba.alpha 1 3 rgba.alpha 1 3"
   name Shuffle19
   xpos 361
   ypos 449
  }
  Unpremult {
   name Unpremult53
   xpos 361
   ypos 478
  }
  Expression {
   temp_name0 tr
   temp_expr0 0.0000001
   channel0 alpha
   expr0 "a> tr?a:0"
   name Expression2
   xpos 361
   ypos 502
  }
  Premult {
   channels all
   name Premult55
   xpos 361
   ypos 533
  }
  DeepFromImage {
   premult true
   set_z true
   name DeepFromImage1
   xpos 361
   ypos 577
  }
  DeepExpression {
   chans1 deep
   deep.front deeprgb.red/a*(1-glowdepth/100)
   deep.back deeprgb.green/a*(1+glowdepth/100)
   name DeepExpression1
   selected true
   xpos 361
   ypos 610
   addUserKnob {20 User}
   addUserKnob {7 glowdepth l "glowdepth+/- %" R 0 20}
   glowdepth 5
  }
  Output {
   name Output1
   xpos 371
   ypos 699
  }
push $N3c9bc00
  Reformat {
   type "to box"
   box_width 100
   box_height 100
   box_fixed true
   resize distort
   name Reformat1
   xpos 541
   ypos 370
  }
 end_group
 Output {
  name Output1
  xpos 477
  ypos 695
 }
end_group
Leave a Comment