[Nuke-users] Roto Bezier motion to Vector blur

2013-08-15 Thread David Yu
Is there a way to get Roto motion to drive a vector blur?

i tried motion Blur 2d but that only works for transforms
___
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

RE: [Nuke-users] Roto Bezier motion to Vector blur

2013-08-15 Thread RsLittle
Use the roto to drive a spline warper over a uv plate which you can make in 
nuke.  The use that warped uv plate to drive your blur


From my Android phone on T-Mobile. The first nationwide 4G network.

 Original message 
From: David Yu dave...@gmail.com 
Date: 08/15/2013  10:13 AM  (GMT-08:00) 
To: discussion, Nuke user nuke-users@support.thefoundry.co.uk 
Subject: [Nuke-users] Roto Bezier motion to Vector blur 
 
Is there a way to get Roto motion to drive a vector blur?

i tried motion Blur 2d but that only works for transforms___
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

Re: [Nuke-users] Roto Bezier motion to Vector blur

2013-08-15 Thread David Yu
 3 1 0 7 0 10 0 0 0 0 L 0 4096 0.5 2 0 0  0 3 
1 -74 0 1 2.38419 1 256 0  7 -48.5835 7.93993 1 7.93993 1 256 0  10
-2.54065 19.0514 1 0 1 256 0 -74 L 0 4096 0.5 2 0 0  0 3  1 56 0 1
3.72431 1 256 0  7 79.0675 4.08512 1 4.08512 1 256 0  10 92.7661
4.80674 1 0 1 256 0 56 0 0 L 0 4096 0.5 2 0 0  0 3  1 26 0 1 0 1 256 0
 7 25.6755 -0.162231 1 -0.162231 1 256 0  10 19.3735 -3.06989 1 0 1 256
0 26 L 0 4096 0.5 2 0 0  0 3  1 4 0 1 -1.2202 1 256 0  7 -5.72412
-2.42166 1 -2.42166 1 256 0  10 -17.795 -4.8246 1 0 1 256 0 4 0 0 S 3 1 0
7 0 10 0 0 S 3 1 0 7 0 10 0 0 0 0 L 0 4096 0.5 2 0 0  0 3  1 -26 0 1 0
1 256 0  7 -25.6755 0.162231 1 0.162231 1 256 0  10 -19.3735 3.06989 1
0 1 256 0 -26 L 0 4096 0.5 2 0 0  0 3  1 -4 0 1 1.22022 1 256 0  7
5.72424 2.42168 1 2.42168 1 256 0  10 17.7951 4.82459 1 0 1 256 0 -4 0 0
L 0 4096 0.5 2 0 0  0 3  1 6 0 1 0.26088 1 256 0  7 7.04364 0 1 0 1
256 0  10 6.8728 -0.0853577 1 0 1 256 0 6 L 0 4096 0.5 2 0 0  0 3  1
4 0 1 -0.270098 1 256 0  7 1.54553 -0.687039 1 -0.687039 1 256 0  10
-2.18335 -1.52092 1 0 1 256 0 4 0 0 S 3 1 0 7 0 10 0 0 S 3 1 0 7 0 10 0 0 0
0 L 0 4096 0.5 2 0 0  0 3  1 -6 0 1 -0.260895 1 256 0  7 -7.04364 0 1
0 1 256 0  10 -6.8728 0.0853882 1 0 1 256 0 -6 L 0 4096 0.5 2 0 0  0 3
 1 -4 0 1 0.270098 1 256 0  7 -1.54553 0.687039 1 0.687039 1 256 0 
10 2.18335 1.52092 1 0 1 256 0 -4 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 1
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 778 stot S 0 0 sto S 0 0 sv S 0 0 sf S 0 1 sb S 0 1 nv S 0 1
view1 S 0 1 ltn S 0 1 ltm S 0 1 ltt S 0 0 tt S 0 4 pt S 0 0
}
   }
   NumOfChildren: 0
  }
 }
}
}
 toolbox {selectAll {
  { selectAll ssx 1 ssy 1 sf 1 }
  { createBezier ssx 1 ssy 1 sf 1 sb 1 tt 4 }
  { createBSpline ssx 1 ssy 1 sf 1 sb 1 }
  { createEllipse ssx 1 ssy 1 sf 1 sb 1 }
  { createRectangle ssx 1 ssy 1 sf 1 sb 1 }
  { brush ssx 1 ssy 1 sf 1 sb 1 }
  { eraser src 2 ssx 1 ssy 1 sf 1 sb 1 }
  { clone src 1 ssx 1 ssy 1 sf 1 sb 1 }
  { reveal src 3 ssx 1 ssy 1 sf 1 sb 1 }
  { dodge src 1 ssx 1 ssy 1 sf 1 sb 1 }
  { burn src 1 ssx 1 ssy 1 sf 1 sb 1 }
  { blur src 1 ssx 1 ssy 1 sf 1 sb 1 }
  { sharpen src 1 ssx 1 ssy 1 sf 1 sb 1 }
  { smear src 1 ssx 1 ssy 1 sf 1 sb 1 }
} }
 toolbar_brush_hardness 0.20003
 toolbar_lifetime_type all
 toolbar_source_transform_scale {1 1}
 toolbar_source_transform_center {320 240}
 colorOverlay 0
 lifetime_type all frames
 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 Roto2
 selected true
 xpos -209
 ypos -166
}



On Fri, Aug 16, 2013 at 1:21 AM, David Yu dave...@gmail.com wrote:

 Great i'll try that thanks!


 On Fri, Aug 16, 2013 at 1:20 AM, RsLittle randyslit...@gmail.com wrote:

 Use the roto to drive a spline warper over a uv plate which you can make
 in nuke.  The use that warped uv plate to drive your blur


 From my Android phone on T-Mobile. The first nationwide 4G network.



  Original message 
 From: David Yu dave...@gmail.com
 Date: 08/15/2013 10:13 AM (GMT-08:00)
 To: discussion, Nuke user nuke-users@support.thefoundry.co.uk
 Subject: [Nuke-users] Roto Bezier motion to Vector blur


 Is there a way to get Roto motion to drive a vector blur?

 i tried motion Blur 2d but that only works for transforms



___
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

Re: [Nuke-users] Roto Bezier motion to Vector blur

2013-08-15 Thread Julik Tarkhanov
I don't think you can do that with roto, since the only place where it can 
interpolate motion is at the edges (but not inside the shapes). So in theory 
you could get a kind of a vector map per pixel but that map would be limited to 
where the roto edge is located, since a roto shape is post-filled. You could 
try to extract (guess) the vectors from roto motion but this is prone to 
artifacts. If you want to add moblur inside of an area I would use Kronos with 
different plates used as source and warp.

On 15 aug. 2013, at 19:39, David Yu dave...@gmail.com wrote:

 I turn on motion blur to see the effect which i want to use as the vectors 
 that will drive the vector blur 
___
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


Re: [Nuke-users] Roto Bezier motion to Vector blur

2013-08-15 Thread Ivan Busquets
David,

Not sure if this will give you exactly what you're after, but this is a
technique I've used in the past to replicate motionblur from the motion of
a shape.

One way to get motion vectors that represent the motion of your shape is to
do a splinewarp that warps between your shape and the same shape offset by
1 frame. Then apply this SplineWarp to a coordinates map (not normalized,
but actual pixel coordinates), substract the original map from the
SplineWarp result, and use that as your motion vector information inside
VectorBlur.

Attached is an example script. Hope it helps.





On Thu, Aug 15, 2013 at 11:26 AM, Julik Tarkhanov
ju...@hecticelectric.nlwrote:

 I don't think you can do that with roto, since the only place where it can
 interpolate motion is at the edges (but not inside the shapes). So in
 theory you could get a kind of a vector map per pixel but that map would be
 limited to where the roto edge is located, since a roto shape is
 post-filled. You could try to extract (guess) the vectors from roto motion
 but this is prone to artifacts. If you want to add moblur inside of an area
 I would use Kronos with different plates used as source and warp.

 On 15 aug. 2013, at 19:39, David Yu dave...@gmail.com wrote:

  I turn on motion blur to see the effect which i want to use as the
 vectors that will drive the vector blur
 ___
 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



roto_to_vectorblur_test.nk
Description: Binary data
___
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