Hey Michael. I think I have what you want.
I uploaded a script a few months ago that concatenates several transforms
into a single matrix.
http://www.nukepedia.com/python/misc/concatenate2dtransforms
Magno.
On Wed, 18 May 2016 17:22:37 -0400, Michael Garrett
<[email protected]> wrote:
Has anyone come up with a nice tool for this yet? I notice that the
matrix in a 2d node is not concatenating when stacking 2d transforms. So
I would, roughly >speaking, do something like link the 2d node's matrix
to an Axis node, then do the concatenation with multiple Axis nodes and
plug the result into a Card3d.
That's just off the top of my head, I haven't tested it and got it
working. I know that linking matrices via live python expressions is
very inefficient as each cel needs to >index into the next value of the
list of the same matrix, and also there have traditionally been
evaluation problems on frame update, particularly at render time.
Thanks,
Michael
On 14 July 2015 at 16:54, Frank Rueter|OHUfx <[email protected]> wrote:
Cool, thanks Magno, will check it out
On 14/07/15 22:57, Magno Borgo wrote:
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/
-- >> >>vfx compositing | workflow customisation and consulting
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
--
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