Re: [Nuke-users] BBox after stabilisation

2016-04-30 Thread Frank Rueter|OHUfx
I guess the trick is also to find the optimal centre for the scaling to keep the actual required scale factor to a minimum. On 30/04/16 10:31 pm, Justin GD wrote: Sorry its was Firday... Forgot to treat absolute values for horizontal case I also, have troubles when the image is scaled

Re: [Nuke-users] BBox after stabilisation

2016-04-30 Thread Justin GD
Sorry its was Firday... Forgot to treat absolute values for horizontal case I also, have troubles when the image is scaled before. I'll have to rewrite the algorithm properly at some point. Or if anyone as time before. Basically my idea was : - Get bboxes in dict for the frame range. -

Re: [Nuke-users] BBox after stabilisation

2016-04-29 Thread Frank Rueter|OHUfx
I just tried this with a animated Transform node and it ended up scaling things down rather than up: CheckerBoard2 { inputs 0 name CheckerBoard1 selected true xpos 155 ypos -236 } BlackOutside { name BlackOutside1 selected true xpos 155 ypos -164 } Transform { translate {{curve x2 -70

Re: [Nuke-users] BBox after stabilisation

2016-04-29 Thread Justin GD
Awesome ! I had a play today as well; Here is a beta group node that worked for the plates I had. Didn't test it properly yet. I'll have a look at your code thanks Brian ! Cheers, Justin set cut_paste_input [stack 0] version 9.0 v7 push $cut_paste_input Group { name JFX_OptBbox tile_color

Re: [Nuke-users] BBox after stabilisation

2016-04-29 Thread Brian Willard
I built a version of this the the other day using the curveTool hack to sum the bbox across a range of frames. It worked ok, but I noticed it didn't return the same values for the bbox consistently. A much faster method seems to be to shuffle black into the rgba, then frameblend the range to get

Re: [Nuke-users] BBox after stabilisation

2016-04-26 Thread Justin GD
Yep, thanks for your answers; I'll post it and will have a look at it when I have more time ! Cheers, J 2016-04-26 5:17 GMT+01:00 Frank Rueter|OHUfx : > I reckon that's one for the nukepedia wishlist > . > > > > > On

Re: [Nuke-users] BBox after stabilisation

2016-04-25 Thread Frank Rueter|OHUfx
I reckon that's one for the nukepedia wishlist . On 04/26/2016 02:46 PM, Mike Frank wrote: What would really be magic is if a script knew the optimal center point to scale from too. On Apr 25, 2016 3:14 PM, "Frank Rueter|OHUfx"

Re: [Nuke-users] BBox after stabilisation

2016-04-25 Thread Mike Frank
What would really be magic is if a script knew the optimal center point to scale from too. On Apr 25, 2016 3:14 PM, "Frank Rueter|OHUfx" wrote: > I have wanted to look into this for ever and never had the time. > I reckon it should be totally possible with a bit of math magic. >

Re: [Nuke-users] BBox after stabilisation

2016-04-25 Thread Frank Rueter|OHUfx
I have wanted to look into this for ever and never had the time. I reckon it should be totally possible with a bit of math magic. On 04/26/2016 01:42 AM, Justin GD wrote: Hi all, Is there a way to scale up a plate to the optimal scale after stabilisation ? What I want is the bbox to always be