Does this do it? using a Multiple to fade out the shader before  merging it.

set cut_paste_input [stack 0]
version 7.0 v1
Camera2 {
 inputs 0
 translate {1.382674336 3.661486864 3.612561941}
 rotate {-43.42800248 20.94387863 0}
 name Camera3
 selected true
 xpos -249
 ypos 70
}
Camera2 {
 inputs 0
 translate {-0.5643137693 1.428215504 5.10006237}
 rotate {-15.55402097 -6.314002746 0}
 name Camera2
 selected true
 xpos 140
 ypos -128
}
ColorWheel {
 inputs 0
 gamma 0.45
 name ColorWheel1
 selected true
 xpos 210
 ypos -117
}
Project3D {
 inputs 2
 name Project3D2
 selected true
 xpos 154
 ypos -10
}
push $cut_paste_input
Camera2 {
 translate {2.478412628 1.551910043 4.451733112}
 rotate {-16.94001661 29.10599396 0}
 focal 30
 name Camera1
 selected true
 xpos -320
 ypos -187
}
CheckerBoard2 {
 inputs 0
 name CheckerBoard1
 selected true
 xpos -126
 ypos -309
}
Roto {
 output alpha
 premultiply rgba
 cliptype none
 curves {{{v x3f99999a}
  {f 0}
  {n
   {layer Root
    {f 512}
    {t x44700000 x44070000}
    {a}
    {curvegroup Ellipse1 512 bezier
     {{cc
       {f 8192}
       {p
        {{{1 xc383dba4}}
      {{1 0}}}
        {{{1 x4482d000}}
      {{1 x42cc0000}}}
        {{{1 x4383dba4}}
      {{1 0}}}
        {{{1 0}}
      {{1 xc361e26c}}}
        {{{1 x44be8000}}
      {{1 x43ff8000}}}
        {{{1 0}}
      {{1 x4361e26c}}}
        {{{1 x4383dba4}}
      {{1 0}}}
        {{{1 x4482d000}}
      {{1 x44660000}}}
        {{{1 xc383dba4}}
      {{1 0}}}
        {{{1 0}}
      {{1 x4361e26c}}}
        {{{1 x440e4000}}
      {{1 x43ff8000}}}
        {{{1 0}}
      {{1 xc361e26c}}}}}
      {cc
       {f 8192}
       {p
        {{{1 xc383dba4}}
      {{1 0}}}
        {{{1 0}}
      {{1 0}}}
        {{{1 x4383dba4}}
      {{1 0}}}
        {{{1 0}}
      {{1 xc361e26c}}}
        {{{1 0}}
      {{1 0}}}
        {{{1 0}}
      {{1 x4361e26c}}}
        {{{1 x4383dba4}}
      {{1 0}}}
        {{{1 0}}
      {{1 0}}}
        {{{1 xc383dba4}}
      {{1 0}}}
        {{{1 0}}
      {{1 x4361e26c}}}
        {{{1 0}}
      {{1 0}}}
        {{{1 0}}
      {{1 xc361e26c}}}}}}
     {tx 1 x4482d000 x43ff8000}
     {a str 1 spx x44700000 spy x44070000 sb 1 tt x40e00000}}}}}}
 toolbox {selectAll {
  { selectAll str 1 ssx 1 ssy 1 sf 1 }
  { createBezier ro 0 go 0 bo 0 ao 0 str 1 ssx 1 ssy 1 sf 1 sb 1 tt 4 }
  { createBezierCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createBSpline str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createEllipse ro 0 go 0 bo 0 ao 0 str 1 ssx 1 ssy 1 sf 1 sb 1 tt 7 }
  { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createRectangleCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { brush str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { eraser src 2 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { clone src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { reveal src 3 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { dodge src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { burn src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { blur src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { sharpen src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { smear src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
} }
 toolbar_brush_hardness 0.200000003
 toolbar_source_transform_scale {1 1}
 toolbar_source_transform_center {960 540}
 colorOverlay {0 0 0 0}
 lifetime_type "all frames"
 view {}
 motionblur_on true
 motionblur_shutter_offset_type centred
 source_black_outside true
 createNewTrack {{-1} "-1\t(none)\t-1" "1000\tNew Track Layer\t1000"}
 name Roto1
 selected true
 xpos -126
 ypos -215
}
Multiply {
 channels rgba
 value {{curve x1 0 x21 1}}
 name Multiply1
 tile_color 0xff000000
 label "Fade Material Here"
 note_font_size 22
 selected true
 xpos -126
 ypos -149
}
Project3D {
 inputs 2
 name Project3D1
 selected true
 xpos -318
 ypos -109
}
MergeMat {
 inputs 2
 name MergeMat1
 selected true
 xpos -67
 ypos -10
}
Sphere {
 name Sphere1
 selected true
 xpos -67
 ypos 23
}
push 0
ScanlineRender {
 inputs 3
 motion_vectors_type distance
 name ScanlineRender1
 label "\[value projection_mode]"
 selected true
 xpos -67
 ypos 68
}
Viewer {
 frame 9
 frame_range 1-22
 frame_range_lock true
 input_process false
 name Viewer1
 selected true
 xpos -54
 ypos 221
}



On 5 December 2012 05:56, Magno Borgo <[email protected]> wrote:

> I have several project3d shaders being merged with MergeMat nodes. Is
> there a way to fade/"mix" shaders? Like we can do with the merge node "mix"
> parameter?
>
> I can setup each project3d on its own scanline render and fade them, but
> perhaps there's an easier way?
>
>
>
> --
> Magno Borgo
>
> www.borgo.tv
> 3D | VFX | Motion Graphics
> +55.41.9982-5537
> +55.41.3013-4921
> Brasil:Curitiba:GMT= -2 (dst)
> ______________________________**_________________
> Nuke-users mailing list
> [email protected].**co.uk<[email protected]>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-users<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users>
>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to