Hi Frank.

I have something alike that you could borrow some of the code to do it, its not a complete solution but will help as a start.

The script takes all the transform info from a rotoshape (including the rotoshape transforms itself, extra matrix and everything) and the layers transforms containing it and bake the transforms onto each roto point.

https://github.com/magnoborgo/RotoPaintToSplineWarp2/blob/master/RotopaintToSplineWarp_v2.py

with some adaptation you could make it run into the selected transform nodes/cpins and apply it to a layer in a rotonode.

Magno.






On Tue, 14 Jul 2015 03:25:45 -0400, Frank Rueter|OHUfx <[email protected]> wrote:

Hi people,

I was wondering if anybody has a clever tool for this:
I have heaps of shots that need hand tracking, so my usual trees ends up having a bunch of concatenating transforms/corner pins etc. I then sometimes find myself wanting to link the resulting transform into a RotoPaint node, so would need to concatenate the nodes and extract the final matrix to then >link into the RotoPaint node.

Seeing Transform node's matrices are accessible via python I thought I'd ask if anybody has written such a thing?


Cheers,
frank


P.S.: Anybody going to Siggraph?


-- > >vfx compositing | workflow customisation and consulting




--
Using Opera's mail client: http://www.opera.com/mail/
_______________________________________________
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