Icy (a propriety sofware) roto template a like in Nuke 7

Hi guys,

during the good times working as an employee at Rhythm and Hues Malaysia  i have been doing roto using a template setup. Each time when the TD’s been asked to do it.. he/she must use an automate script that is created by the sups that suite the internal pipeline.

When the first time i am switching myself from a propriety software to Nuke, i am like ‘#amusthaverototemplate’  is needed, so i decided to match what is the possible way to do this so the workflow will somehow similar to icy , an alternative way rather of doing it from scratch. It’s bugging me that i have to disable and enable  ‘this and that ‘ in the roto properties. 🙂

Bare in mind that this template is for ROTO task only, when you done roto +with track node etc., You need to copy/paste or export it to another script and that is your main project file.

The script is looking like this;
Rnd look
Image

Final look and clean up
Image

by simply load the footage/bgplate in Read node.. automatically the constant node will follow it size/format. There are 1 viewer that generate 3 view (pls dont mess up the viewer node).

When starting a roto task, it is advisable for you to not to mouse over your cursor to the node panel. Just concentrate in the viewer ( full screen ) and dialing 1,2 or 3 to generate a roto display with matte only, roto with overlay in the bg and the bg only .

copy paste the script below to your nuke to try..

###ICYlikeRotoTemplate v0001 by Hafeez

set cut_paste_input [stack 0]
version 7.0 v6
BackdropNode {
 inputs 0
 name Overlay_Bg
 tile_color 0xaa834cff
 note_font_size 42
 selected true
 xpos -191
 ypos 407
 bdwidth 166
 bdheight 135
}
BackdropNode {
 inputs 0
 name outputs
 tile_color 0xff00ff
 note_font_size 42
 selected true
 xpos 551
 ypos 531
 bdwidth 154
 bdheight 209
}
BackdropNode {
 inputs 0
 name Roto_splines
 tile_color 0xd6e5bcff
 note_font_size 42
 selected true
 xpos 24
 ypos 238
 bdwidth 102
 bdheight 178
}
StickyNote {
 inputs 0
 name StickyNote1
 tile_color 0x4eccc9ff
 label "Enable when use \nmultiple roto node\nShortcut. \"D\""
 note_font "Verdana Italic Italic"
 note_font_size 15
 selected true
 xpos 235
 ypos 205
}
Read {
 inputs 0
 format "2048 1556 0 0 2048 1556 1 2K_Super_35(full-ap)"
 first 1002615
 last 1002638
 frame_mode "start at"
 frame 0
 origfirst 1002615
 origlast 1002638
 origset true
 on_error black
 version 1
 timecode 13:12:58:05
 edge_code "\\xff\\xff \\xff\\xff \\xff\\xff \\xff\\xff\\xff\\xff \\xff\\xff\\xff\\xff \\xff\\xff"
 name Bg_Plate
 selected true
 xpos -295
 ypos 300
}
set N9be7af0 [stack 0]
Dot {
 name Dot1
 selected true
 xpos -78
 ypos 327
}
set N14e57ac0 [stack 0]
Dot {
 name Dot5
 selected true
 xpos -31
 ypos 385
}
Roto {
 output alpha
 premultiply rgba
 curves {{{v x3f99999a}
  {f 0}
  {n
   {layer Roto_A2
    {f 576}
    {t x44700000 x44070000}
    {a}}}}}
 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 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 1000256
 lifetime_end 1000256
 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 Roto_C
 tile_color 0xb4ffaaff
 selected true
 xpos 34
 ypos 376
}
Dot {
 name Dot6
 selected true
 xpos 270
 ypos 385
}
push 0
push $N14e57ac0
Dot {
 name Dot3
 selected true
 xpos -78
 ypos 272
}
Roto {
 output alpha
 premultiply rgba
 cliptype bbox
 curves {{{v x3f99999a}
  {f 0}
  {n
   {layer Roto_A
    {f 576}
    {t x44700000 x44070000}
    {a}}}}}
 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 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 1000256
 lifetime_end 1000256
 view {}
 "extra matrix" 1
 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 Roto_B
 tile_color 0xaaffbfff
 selected true
 xpos 32
 ypos 263
}
Dot {
 name Dot4
 selected true
 xpos 270
 ypos 272
}
push $N14e57ac0
Roto {
 output alpha
 premultiply rgba
 curves {{{v x3f99999a}
  {f 0}
  {n
   {layer Roto_B
    {f 576}
    {t x44700000 x44070000}
    {a}}}}}
 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 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 1002615
 lifetime_end 1002615
 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 Roto_MAIN
 tile_color 0x36e01dff
 selected true
 xpos 32
 ypos 318
}
Merge2 {
 inputs 3+1
 name Merge3
 selected true
 xpos 274
 ypos 324
 disable true
}
set N14e59640 [stack 0]
Dot {
 name Dot12
 selected true
 xpos 411
 ypos 327
}
Dot {
 name Dot11
 selected true
 xpos 411
 ypos 682
}
PostageStamp {
 name RotoMatte
 label "\n"
 note_font "Verdana Bold Bold Bold Bold Bold Bold Bold"
 note_font_size 12
 note_font_color 0xd6001ff
 selected true
 xpos 584
 ypos 654
 postage_stamp true
}
Dot {
 name Dot9
 selected true
 xpos 618
 ypos 840
}
push $N14e59640
Dot {
 name Dot7
 selected true
 xpos 308
 ypos 511
}
Constant {
 inputs 0
 channels rgb
 color {0.04500000179 0 0 0}
 format {{{parent.Bg_Plate.format}}}
 name Constant1
 selected true
 xpos -176
 ypos 472
}
Dot {
 name Dot2
 selected true
 xpos -78
 ypos 499
}
push $N14e57ac0
Merge2 {
 inputs 2
 operation out
 output rgb
 mix 0.955
 name Merge2
 selected true
 xpos -112
 ypos 439
}
Dot {
 name Dot8
 selected true
 xpos 58
 ypos 442
}
Merge2 {
 inputs 2
 name Merge1
 selected true
 xpos 24
 ypos 508
}
Dot {
 name Dot15
 selected true
 xpos 58
 ypos 592
}
PostageStamp {
 name RotoOverlay
 note_font Verdana
 note_font_size 12
 note_font_color 0x11cd1ff
 selected true
 xpos 587
 ypos 564
 postage_stamp true
}
Dot {
 name Dot13
 selected true
 xpos 440
 ypos 728
}
Dot {
 name Dot10
 selected true
 xpos -198
 ypos 728
}
push $N9be7af0
Viewer {
 inputs 3
 frame 1002615
 input_number 2
 freezeGuiWhenPlayBack true
 input_process false
 name RotoViewer
 selected true
 xpos -295
 ypos 837
}
StickyNote {
 inputs 0
 name Try_not_to_mess_with_viewer
 label "(1) Background \n(2) Roto with overlay\n(3) Roto Matte"
 selected true
 xpos -319
 ypos 862
}
StickyNote {
 inputs 0
 name StickyNote2
 tile_color 0x31cc21ff
 label "Viewing purpose only\n"
 note_font "Verdana Bold Bold"
 note_font_size 15
 selected true
 xpos 538
 ypos 480
}
StickyNote {
 inputs 0
 name Load_Em
 tile_color 0x73b2cff
 gl_color 0x66cca2ff
 label "Load your BG here\n"
 note_font_color 0x6bd6aaff
 selected true
 xpos -307
 ypos 266
}

pls give me a comment below for further updates on the roto template. Thank you for visiting my blog

Advertisements

Nuke7 : How to attach roto onto a single 2d track (xy)

seorang rakan bertanya hari ni

Image

This is the most fundamental operation in many compositing app. Attaching a shape or multi-shape onto a 2d track ( a pattern track) in a shots. This is how it works.

12

picture above is an example how do we do this operation. After roto a single frame and tracking an area.. e.g mouth. By clicking right click on the roto shape. You should see this:

13

by selecting the desired track in tracker node.. choose translate.
.. and in your node graph, the roto node should have and expression arrow.
14

Presto la vamboo.. done.!

VFXClip : Halim Turbo (work in progress)

this post will be in Bahasa Melayu, its about my current work in progress in H.U.D design using After Effects. 😛

Projek ni aku buat ske ske, masa tidak mengizinkan aku habis keseluruhan cerita ni. Tapi takpe.. mungkin post work in progress ini boleh sedikit mengongsikan apa yang aku tau buat penggiat cgi/vfx semua.

So mamat dalam clip ni dipaksa secara gerilla untuk berlakon macam Tony Stark, disebabkan asik tersasul, maka suara dia aku dubb pakai suara aku je dan nama unik dipilih yakni – Halim Turbo. Memikirkan kamera yang ada hanya kamera phone.. so aku pun acceptlah challenge dengan mengshoot projek ni pakai samsung galaxy note 2 aku .

————————————–
sedikit snapshots sembang mambang dan angan angan sebelum buat keje gile ni.
Proses keje dibuat ikut turutan, campur pulak sebok ngan keje.. ntah bila nak fokus kasi siap. hehehehe.. dan aku yakin dengan camera phone aku.. aku bole buat adengan ironman.

548122_10151187686125642_2035147559_n
Gambo 1:
visual awal, pakai camera samsung galaxy note 2, petik seketping.. dan conteng dalam autodesk sketch.. amik feel dulu.
—————————————————————————————-

13594_10151187507280642_2000305872_n
Gambo 2:
petik sekeping lagi.. stadi lighting dan framing.. head room dll. Semua dibedal dalam cameraphone je.limitasi nak bermain focal dan zoom.. tiada.. Dengan keterpaksaan pakai je apa ada.. maka aku yakin at least.. ada output yang keluar lebih baik dari klip video gadis 3gp gitu.. hahahha

Dah habis sembang mambang.. maka aku berangan le kasi color correct pakai app android sekati dua.. nak amik feel. kunun dalam helmet ironmanler~
——————————————————–

546398_10151193353165642_1185571776_n
Gambo 3
maka bermulalah shooting di kawasan gelap dalam office Rhythm n Hues, story pun dah ada.. maka mamat ni berlakonlah se arron aziz yang mungkinnya. Lighting jamban ditala kearah jendol supaya menampakkan kemelayuannya..  Malangnya audio tak memuaskan.. so aku tepaksa dubb dalam komputer nanti. huhuhu..
————————————————————————–

196884_10151201510025642_1826594447_n253917_10151210213065642_2038174252_n 65150_10151203876605642_18348156_n

Gambo 4
masuk fasa ni aku dah start belasah apa yang boleh pakai photoshop dan maya. untuk mempastikan setiap ruang hitam dalam helmet kununnya ironman itu diisi dengan gambarajah hologram. Disebabkan working file aku tak besar, aku kene bajet gak keberatan file file ni..  Dalam fasa ni jugak aku determinekan.. shape mana yang duduk diam.. shape mana yang menari nari.. dan shape mana yang loop.. so bila dah masuk After effects nanti.. mudah aku nak kontrol 3d layer dan z depthnya.
—————————————

1

Gambo 5
ni le fasa yang menguji kesabaran aku .. iaitu fasa menyusun.. dalam after effects.. aku kena strategis kat celah mana natang ni muncul dan keluar.. imej apa yang ikut tracking kamera.. dan yang ikut kepala mamat ni. tracking 2d dan agak agak 3d dihenjut dalam ae secara rakus.. jumlah nested comp precomp dan main comp bersepah.. itu perkara biasa.. sebab ada je masa nak kemas semua tu nanti. Yang penting .. belasah dulu sambil pasang lagu i am ironman – black sabbath

——————————————————————————————————

sessi uji tracking dimulakan.. dengan solid shape dulu

Exclusive k work in progress HALIM TURBO

Setakat ni.. progress dia baru 40% ada belonggok lagi shape dan barang nak dihayun dalam vfx ni. Mungkin aku ubah itu dan ini depends dengan mood aku le. kesan z depth belum dihenjut lagi. Harap dengan post ini.. dapatlah saya berkongsi sedikit sebanyak apa saya tahu dalam visual fx.

petrakhus
dua_cutty_vfx

Nuke 7: Adding extra footage/frames to the nuke script

Macam mana nak gabungkan 2 shot dalam 1 kat Nuke?. Nak pakai Input ke Global.. begini caranya…

This happens to be one of the first #tekantekanjadi in Nuke 7. Trying hard to solve a basic operation in compositing that take me an hour to discover it (am a nuke beginner btw) . In After Effects, media files are stacked in layers, easy to manage the head and tail of the shots. How about in Nuke? that is Node base compositing app. How do we add more frames at the head or tail in our nuke script?. How do we understand the nature of Input and Global franges?

Ntahlah.. hahahah, i just keep on trial and error jess..

Before we move on, make sure your franges is set to Input, later we set it back to Global when we determine the latest end frame.

pic1 : Read 1 is the Original frames and Xtra is the extended frames

1b

fyi : Sometime the Offline Editor send the DPX’s shots in extreme frame numbers.
e.g: frame range : 1006686 – 1006731.

Wtf lah… camna nak bajet timing .. matematik aku takleh lebih 3 angka.. demn. hahahah..

3

It is advisable to offset the start frame of those extreme number to ( 0 or 1 ). This will helps us to control the timing of operations ( eg. animate blur for 40f ) without opening any calculator app later on. hehe..

at the properties panel for Read1 node set the frame start at 0 or 1
2
*. set the pre and post frames to black, so it wound overlap to each other

then your input instead of looking like this :
4

will end up like this?.. looks more handsome right?
5

if the Editor wants the output files with the same file name and extreme frame number. Later on we can edit that on Write node. :).

let’s go back to the main topic on how to merge this 2 shots together

from the picture above we understand that the original frames end at f45. and the xtra footage need to continue from f46 onwards. Do the same start frame operation for the xtra read node and start in proper number of sequences. Mine is f46… your’s are different ~lah kan

my xtra read node properties: starts at f46
7

When u done.. combine these read node to one merge(over) node.
6

Now we need to set the work frange into Global, type in the end frame for your xtra write node(right after u modified the start frame) . Mine ends at f95.

to set the global franges, open up project settings (s) and type it in.
9

Now ur global franges should look like this.
8

Yepp thats it, and from this end you should understand how to add more extra footage if needed.

You can manage many shots into one single franges by looking at Dope sheet. Simply by selecting all (double clicking) the write node (footages).. it will layer up something like editing software. Try it out.. #tekantekanjadi

10

on my next tutorial, i will show you guys how to set back the franges to that extreme franges as write node. And our editor will be happy by just replace it files in the edit. 😛

Thank you, stay tune

petrakhus
duacuttyvfx #tekantekanjadi