Ha, you are the winner Pat!
I was simply using the wrong pipe on the diffuse shader before when I had tried that approach. Leaving the main pipe unconnected on Diffuse and only using the map pipe for the texture, followed by the Specular does the trick.
Thinking about it, it kinda makes sense too.

Thanks everybody!

frank


On 07/08/14 21:30, Pat Wong wrote:
Hi frank

Ive been advised that the 2 scanline render approach was the way to go but i found this expensive and cumbersome,




but try this set 3D setup is this what you are after?




set cut_paste_input [stack 0]
version 7.0 v6
push $cut_paste_input
Noise {
center {1024 778}
name Noise1
selected true
xpos 18138
ypos -11977
}
Grade {
white {2.4 2.44 0.91 1.32}
name Grade64
selected true
xpos 18138
ypos -11937
}
Dot {
name Dot201
selected true
xpos 18165
ypos -11821
}
set N9fe75a40 [stack 0]
Shuffle {
alpha white
name Shuffle9
selected true
xpos 18115
ypos -11745
}
set Na01732a0 [stack 0]
Viewer {
frame 40
viewerProcess rec709
input_process false
name Viewer2
selected true
xpos 18348
ypos -11403
addUserKnob {20 User}
addUserKnob {6 localCaching -STARTLINE}
}
Camera2 {
inputs 0
translate {-0.7090275288 23.46045113 59.81689072}
rotate {-14.96231174 -2.233474493 0.9951862097}
version 2
name Camera1
selected true
xpos 17995
ypos -11356
}
set N5b0f8930 [stack 0]
push $N5b0f8930
Light2 {
inputs 0
light_type spot
intensity 3.9
cone_angle 107.5
cone_penumbra_angle 48.5
cone_falloff 5
translate {-0.2199999988 10.60000038 10.75}
depthmap_slope_bias 0.01
version 2
name Light1
selected true
xpos 18608
ypos -11469
}
ColorBars {
inputs 0
name ColorBars1
selected true
xpos 18413
ypos -11972
}
Dot {
name Dot199
selected true
xpos 18456
ypos -11881
}
Roto {
output alpha
curves {{{v x3f99999a}
  {f 0}
  {n
   {layer Root
    {f 0}
    {t x44800000 x44428000}
    {a}
    {curvegroup Bezier1 512 bezier
     {{cc
       {f 8192}
       {px
        {x41f00000 x42200000}
        {{{x42200000 0 1 x405e3533 1}
       {x429570a0 x405e3533 1 0 1}}
      {{x41200000 0 1 x3de76666 1}
       {x41321400 x3de76666 1 0 1}}}
        {{{x44d3e000 0 1 xc16016b3 1}
       {x44c427a4 xc16016b3 1 0 1}}
      {{x44430000 0 1 x41411360 1}
       {x4471d4cb x41411360 1 0 1}}}
        {{{xc2200000 0 1 xc05e3533 1}
       {xc29570a0 xc05e3533 1 0 1}}
      {{xc1200000 0 1 xbde77333 1}
       {xc1321500 xbde77333 1 0 1}}}
        {{{xc3390000 0 1 xc18076c6 1}
       {xc3acca3c xc18076c6 1 0 1}}
      {{x43848000 0 1 x403fa600 1}
       {x439378f8 x403fa600 1 0 1}}}
        {{{x448e8000 0 1 xc278b7db 1}
       {x44051feb xc278b7db 1 0 1}}
      {{x440e8000 0 1 x411b1b93 1}
       {x44376613 x411b1b93 1 0 1}}}
        {{{x43390000 0 1 x418076cd 1}
       {x43acca40 x418076cd 1 0 1}}
      {{xc3848000 0 1 xc03fa600 1}
       {xc39378f8 xc03fa600 1 0 1}}}
        {{{xc2200000 0 1 xc05e3533 1}
       {xc29570a0 xc05e3533 1 0 1}}
      {{xc1700000 0 1 xbe2d919a 1}
       {xc1858f60 xbe2d919a 1 0 1}}}
        {{{x44b72000 0 1 xc207e0cd 1}
       {x448e732a xc207e0cd 1 0 1}}
      {{x438c0000 0 1 x40cd59f3 1}
       {x43cd6996 x40cd59f3 1 0 1}}}
        {{{x42200000 0 1 x405e3533 1}
       {x429570a0 x405e3533 1 0 1}}
      {{x41700000 0 1 x3e2d919a 1}
       {x41858f60 x3e2d919a 1 0 1}}}
        {{{xc28c0000 0 1 xc0c26e9a 1}
       {xc302c290 xc0c26e9a 1 0 1}}
      {{xc2aa0000 0 1 xbf75e333 1}
       {xc2bd35c0 xbf75e333 1 0 1}}}
        {{{x44dc0000 0 1 xc105d100 1}
       {x44d35516 xc105d100 1 0 1}}
      {{x43c58000 0 1 x40f6ef73 1}
       {x4406b479 x40f6ef73 1 0 1}}}
        {{{x428c0000 0 1 x40c26e66 1}
       {x4302c280 x40c26e66 1 0 1}}
      {{x42aa0000 0 1 x3f75e333 1}
       {x42bd35c0 x3f75e333 1 0 1}}}
        {{{0 -}}
      {{xc1f00000 0 1 xbead919a 1}
       {xc2058f60 xbead919a 1 0 1}}}
        {{{x44ec4000 0 1 x403ae8cd 1}
       {x44f1aff6 x403ae8cd 1 0 1}}
      {{x4414c000 0 1 x411fa0b3 1}
       {x443e5ae0 x411fa0b3 1 0 1}}}
        {{{0 -}}
      {{x41f00000 0 1 x3ead90cd 1}
       {x42058f50 x3ead90cd 1 0 1}}}}}     idem}
     {tx x41f00000 x44c6c000 x44030000}
{a str 1 spx x44800000 spy x44428000 sb 1 ltn x41f00000 ltm x41f00000 tt x40800000}}}}}}
toolbox {selectAll {
  { undefined str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { selectAll str 1 ssx 1 ssy 1 sf 1 }
  { createBezier 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 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { 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 {1024 778}
colorOverlay {0 0 0 0}
lifetime_type "all frames"
lifetime_start 30
lifetime_end 30
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 Roto7
selected true
xpos 18429
ypos -11847
}
Premult {
name Premult17
selected true
xpos 18429
ypos -11779
}
set N2b12abd0 [stack 0]
Dot {
name Dot200
selected true
xpos 18458
ypos -11710
}
push $N2b12abd0
Shuffle {
red black
green black
blue black
name Shuffle8
selected true
xpos 18594
ypos -11711
}
Diffuse {
inputs 2
white 1.02
name Diffuse2
selected true
xpos 18594
ypos -11649
}
Specular {
white 0
min_shininess 9.9
max_shininess 2
name Specular3
selected true
xpos 18594
ypos -11577
}
Card2 {
orientation ZX
image_aspect false
uniform_scale 20
control_points {3 3 3 6

1 {-0.5 0 -0.5} 0 {0 0 0.1666666865} 0 {0 0 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0 0} 1 {-0.5 0 0} 0 {0 0 0.1666666716} 0 {0 0 -0.1666666716} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0.5 0 0} 1 {-0.5 0 0.5} 0 {0 0 0} 0 {0 0 -0.1666666865} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {1 0 0} 1 {0 0 -0.5} 0 {0 0 0.1666666865} 0 {0 0 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.5 0} 1 {0 0 0} 0 {0 0 0.1666666716} 0 {0 0 -0.1666666716} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0.5 0.5 0} 1 {0 0 0.5} 0 {0 0 0} 0 {0 0 -0.1666666865} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {1 0.5 0} 1 {0.5 0 -0.5} 0 {0 0 0.1666666865} 0 {0 0 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 1 0} 1 {0.5 0 0} 0 {0 0 0.1666666716} 0 {0 0 -0.1666666716} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0.5 1 0} 1 {0.5 0 0.5} 0 {0 0 0} 0 {0 0 -0.1666666865} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {1 1 0} }
name Card11
selected true
xpos 18420
ypos -11505
}
push $Na01732a0
Roto {
output alpha
curves {{{v x3f99999a}
  {f 0}
  {n
   {layer Root
    {f 0}
    {t x44800000 x44428000}
    {a}
    {curvegroup Bezier1 512 bezier
     {{cc
       {f 8192}
       {px x41f00000
        {x42200000 x41200000}
        {x44d3e000 x44430000}
        {xc2200000 xc1200000}
        {xc3390000 x43848000}
        {x448e8000 x440e8000}
        {x43390000 xc3848000}
        {xc2200000 xc1700000}
        {x44b72000 x438c0000}
        {x42200000 x41700000}
        {xc28c0000 xc2aa0000}
        {x44dc0000 x43c58000}
        {x428c0000 x42aa0000}
        {0 xc1f00000}
        {x44ec4000 x4414c000}
        {0 x41f00000}}}     idem}
     {tx x41f00000 x44c6c000 x44030000}
{a str 1 spx x44800000 spy x44428000 sb 1 ltn x41f00000 ltm x41f00000 tt x40800000}}}}}}
toolbox {selectAll {
  { undefined str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { selectAll str 1 ssx 1 ssy 1 sf 1 }
  { createBezier 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 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { 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 {1024 778}
colorOverlay {0 0 0 0}
lifetime_type "all frames"
lifetime_start 30
lifetime_end 30
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 Roto10
selected true
xpos 18104
ypos -11703
}
RotoPaint {
cliptype none
curves {{{v x3f99999a}
  {f 0}
  {n
   {layer Root
    {f 512}
    {t x44b40000 x44870000}
    {a}
    {cubiccurve Reveal3 576 catmullrom
     {cc
      {f 2080}
      {px x453ba000
       {x455c0000 x44610000 x3ebc8000}
       {x45566000 x44598000 x3ebc8000}
       {x45566000 x445e8000 x3e9d4000}}}
     {tx x453ba000 x45584000 x445daaab}
{a ro 0 go 0 bo 0 ao 0 bs x447a0000 bu 1 src x40400000 str 1 spx x44b40000 spy x44870000 sb 1 ltn x453ba000 ltm x453ba000 ltt x40000000 tt x41980000}}
    {cubiccurve Reveal2 512 catmullrom
     {cc
      {f 2080}
      {px x453ba000
       {x45bea000 x450fc000 x3e90c000}
       {x45bd6000 x450fc000 x3e90c000}
       {x45b7c000 x45098000 x3ecb8000}}}
     {tx x453ba000 x45bbeaab x450daaab}
{a ro 0 go 0 bo 0 ao 0 bs x447a0000 bu 1 src x40400000 str 1 spx x44b40000 spy x44870000 sb 1 ltn x453ba000 ltm x453ba000 ltt x40000000 tt x41980000}}
    {cubiccurve Reveal1 512 catmullrom
     {cc
      {f 2080}
      {px x453ba000
       {x44d52000 x44b5e000 x3e964000}
       {x44d16000 x44b4a000 x3e964000}
       {x44520000 x44728000 x3ed9c000}
       {x44638000 x44750000 x3f4d8000}
       {x44a00000 x4492e000 x3f4be000}
       {x44b4a000 x44a28000 x3f4dc000}
       {x4492e000 x44910000 x3f5f6000}
       {x448e8000 x448a2000 x3f66c000}
       {x44ac8000 x4497e000 x3f5e8000}
       {x44b22000 x449ba000 x3f588000}
       {x44ad2000 x449d8000 x3f582000}
       {x44a64000 x44992000 x3f5fc000}
       {x44750000 x44764000 x3f626000}
       {x44956000 x44764000 x3f71e000}
       {x44c26000 x4494c000 x3f5ce000}
       {x44c94000 x449a6000 x3f530000}
       {x44b2c000 x44aaa000 x3f530000}
       {x4469c000 x44870000 x3f694000}
       {x44870000 x445fc000 x3f75e000}
       {x44c44000 x44820000 x3f6a4000}
       {x44da2000 x44a6e000 x3f646000}
       {x44a00000 x4494c000 x3f730000}
       {x4478c000 x44624000 x3f76c000}
       {x44b90000 x4478c000 x3f77a000}
       {x44fe6000 x44a6e000 x3f6f6000}
       {x44d02000 x44a5a000 x3f6f0000}
       {x44764000 x445e8000 x3f76e000}
       {x449ce000 x44534000 1}
       {x45016000 x44924000 x3f788000}
       {x44fc8000 x44b0e000 x3f74a000}
       {x44898000 x44898000 x3f7dc000}
       {x44674000 x445ac000 1}
       {x44af0000 x44598000 x3f7ec000}
       {x44b90000 x445e8000 x3eb74000}
       {x44dca000 x4478c000 x3eb74000}}}
     {tx x453ba000 x44ac4db7 x448ce000}
{a ro 0 go 0 bo 0 ao 0 bs x447a0000 bu 1 src x40400000 str 1 spx x44b40000 spy x44870000 sb 1 ltn x453ba000 ltm x453ba000 tt x41980000}}}}}}
toolbox {reveal {
  { selectAll str 1 ssx 1 ssy 1 sf 1 }
  { createBezier str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createBezierCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createBSpline str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createRectangleCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { brush bs 835 str 1 ssx 1 ssy 1 sf 1 sb 1 ltn 3002 ltm 3002 tt 16 }
  { 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 bs 1000 src 3 str 1 ssx 1 ssy 1 sf 1 sb 1 ltn 3002 ltm 3002 tt 19 }
  { 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_size 1000
toolbar_brush_hardness 0.200000003
toolbar_lifetime_type single
toolbar_paint_source "bg 1"
toolbar_source_transform_scale {1 1}
toolbar_source_transform_center {1440 1080}
colorOverlay {0 0 0 0}
paint_source "background 1"
lifetime_start 3002
lifetime_end 3002
motionblur_on true
brush_size 1000
brush_spacing 0.05000000075
brush_hardness 0.200000003
source_black_outside true
createNewTrack {{-1} "-1\t(none)\t-1" "1000\tNew Track Layer\t1000"}
name RotoPaint1
selected true
xpos 18104
ypos -11649
}
push $N9fe75a40
Shuffle {
red black
green black
blue black
alpha white
name Shuffle11
selected true
xpos 18290
ypos -11649
}
Diffuse {
inputs 2
white 1.02
name Diffuse1
selected true
xpos 18104
ypos -11577
}
Specular {
white 0
min_shininess 9.9
max_shininess 2
name Specular1
selected true
xpos 18104
ypos -11505
}
Cube {
translate {0 2.779999733 0}
uniform_scale 6
name Cube1
selected true
xpos 18118
ypos -11426
}
Scene {
inputs 4
name Scene4
selected true
xpos 18128
ypos -11358
}
push 0
ScanlineRender {
inputs 3
motion_vectors_type distance
name ScanlineRender3
selected true
xpos 18118
ypos -11217
}


























_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

--
ohufxLogo 50x50 <http://www.ohufx.com> *vfx compositing <http://ohufx.com/index.php/vfx-compositing> | *workflow customisation and consulting <http://ohufx.com/index.php/vfx-customising>* *

_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to