Is it just a matter of transforming with inverse of matrix at reference frame, then applying the (non-inverted) matrix? Kind of like stabilising on one frame, then matchmoving..

set cut_paste_input [stack 0]
version 8.0 v6
ColorWheel {
 inputs 0
 gamma 0.45
 name ColorWheel1
 selected true
 xpos -387
 ypos -133
}
set N3a785610 [stack 0]
CornerPin2D {
to1 {{parent.CornerPin2D1.to1(ref_frame)} {parent.CornerPin2D1.to1(ref_frame)}} to2 {{parent.CornerPin2D1.to2(ref_frame)} {parent.CornerPin2D1.to2(ref_frame)}} to3 {{parent.CornerPin2D1.to3(ref_frame)} {parent.CornerPin2D1.to3(ref_frame)}} to4 {{parent.CornerPin2D1.to4(ref_frame)} {parent.CornerPin2D1.to4(ref_frame)}}
 invert true
 from1 {0 0}
 from2 {2184 0}
 from3 {2184 1152}
 from4 {0 1152}
 name CornerPin2D2
 label "ref: \[value ref_frame]\ninvert: \[value invert]"
 selected true
 xpos -387
 ypos 10
 addUserKnob {20 User}
 addUserKnob {3 ref_frame}
 ref_frame 10
}
CornerPin2D {
 to1 {{parent.CornerPin2D1.to1} {parent.CornerPin2D1.to1}}
 to2 {{parent.CornerPin2D1.to2} {parent.CornerPin2D1.to2}}
 to3 {{parent.CornerPin2D1.to3} {parent.CornerPin2D1.to3}}
 to4 {{parent.CornerPin2D1.to4} {parent.CornerPin2D1.to4}}
 invert false
 from1 {0 0}
 from2 {2184 0}
 from3 {2184 1152}
 from4 {0 1152}
 name CornerPin2D3
 selected true
 xpos -387
 ypos 60
}
push $N3a785610
CornerPin2D {
 to1 {{curve x1 575 x18 800} {curve x1 255 x18 385}}
 to2 {{curve x1 1495 x18 1680} {curve x1 215 x18 430}}
 to3 {{curve x1 1560 x18 1840} {curve x1 760 x18 855}}
 to4 {{curve x1 595 x18 850} {curve x1 640 x18 855}}
 invert false
 from1 {0 0}
 from2 {2184 0}
 from3 {2184 1152}
 from4 {0 1152}
 name CornerPin2D1
 selected true
 xpos -513
 ypos 27
}


On 20/10/15 13:23, Pete O'Connell wrote:
Hi, does anyone have any insight into how to set the reference frame on
an animated transform matrix? This would be similar to setting the
reference frame on a tracker node or making the FROMs the same as the
TOs on a certain frame of an animated cornerpin node.

I'm stumped :P

Pete


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


--
ben dickson
2D TD | ben.dick...@rsp.com.au
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to