x =  box.x + bbox.w / 2
y =  box.y + bbox.h / 2


On 22/05/17 8:12 PM, adam jones wrote:
Hey all

So I am doing an effect over a potion of a frame (say 1920 x 1080) driven by a 
matte that is moving and changing shape, I have done an auto crop on the 
animated shape to gain a bbox, is there a way to find the centre of this bbox 
to allow me to drive a transform centre in the context of it position in the 
full frame, and the like.

regards
-adam


_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
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