Re: [Nuke-users] finding centre of BBOX

2017-05-22 Thread adam jones
exactly what I was just sussing but thank you for confirming my thoughts regards -adam > On 22 May 2017, at 6:29 PM, Frank Rueter|OHUfx wrote: > > 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

Re: [Nuke-users] finding centre of BBOX

2017-05-22 Thread Frank Rueter|OHUfx
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

[Nuke-users] finding centre of BBOX

2017-05-22 Thread adam jones
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