Hi Pete,

can you explain your problem a bit more, for example what nodes are you
using, were you simply given a Transform / CornerPin node that has an
animated matrix? There may be an easier way to achieve what you want.

The following is the "hard way". First go to your new reference frame 'f'
and get that matrix, let's call it M. Now for every frame, get the matrix
A, and post-multiply it by the inverse of M, and set that as your new A,
e.g. A = A * M^-1. This is effectively warping everything by the opposite
of whatever existed at 'f', making 'f' your new reference frame. For
practical reasons, it might make more sense to save your matrix into a new
Transform node so that you still have the original if you want.

Hope that makes sense,

Dan.






On Tue, Oct 20, 2015 at 3:53 AM, Pete O'Connell <pedrooconn...@gmail.com>
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
>
>


-- 
Dan Ring, Ph.D.
Senior Research Engineer
The Foundry
31-36 Ormond Quay Upper
Dublin 7
Ireland
Tel: +353(0) 1 526-6788
Web: www.thefoundry.co.uk
Email: dan.r...@thefoundry.co.uk

The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
_______________________________________________
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