If you already have the surface you're projecting on, you could place 4 Axis
nodes at the edges, get their screen (2D) coordinates using a Reconcile3D,
and use those coordinates in a CornerPin.


On Thu, May 26, 2011 at 11:40 PM, Balaji K <[email protected]>wrote:

>  Thanks for your script Ron, its nice...
>
> After projection I want to animate the cornerpin, but I need cornerpin to
> follow the projection, I tried with curve tool and autocrop and cornerpin
> values, its travelling now along with projection,but its not matching the
> input my projection, it got disturbed.
>
> I need the cornerpin to follow the projection area only, if any adjustment
> required I can animate the cornerpin. Is there anyway cornerpin follow to
> projection area.
>
>
>
> Thanks
> Balaji.k
>
> Ron Ganbar wrote:
>
> have a look at this:
>
>  set cut_paste_input [stack 0]
> version 6.2 v3
> push $cut_paste_input
> CornerPin2D {
>  to1 {{parent.Crop1.box.x} {parent.Crop1.box.y}}
>  to2 {{parent.Crop1.box.r} {parent.Crop1.box.y}}
>  to3 {{parent.Crop1.box.r} {parent.Crop1.box.t}}
>  to4 {{parent.Crop1.box.x} {parent.Crop1.box.t}}
>  invert false
>  from1 {0 0}
>  from2 {2048 0}
>  from3 {2048 1556}
>  from4 {0 1556}
>  name CornerPin2D1
>  selected true
>  xpos 225
>  ypos -22
> }
> Crop {
>  inputs 0
>  box {0 0 2048 1556}
>  name Crop1
>  selected true
>  xpos 235
>  ypos -130
> }
>
>
>
> Ron Ganbar
> email: [email protected]
> tel: +44 (0)7968 007 309 [UK]
>      +972 (0)54 255 9765 [Israel]
> url: http://ronganbar.wordpress.com/
>
>
>
> On 27 May 2011 09:08, Ron Ganbar <[email protected]> wrote:
>
>> The x, y, r & t mean x = Left, y = Bottom, r = Right, t = Top. Combine
>> these in the correct boxes of the corner pin to build a box.
>>
>>
>>
>> Ron Ganbar
>> email: [email protected]
>> tel: +44 (0)7968 007 309 [UK]
>>      +972 (0)54 255 9765 [Israel]
>> url: http://ronganbar.wordpress.com/
>>
>>
>>
>>   On 27 May 2011 08:19, Balaji K <[email protected]> wrote:
>>
>>>  Crop has x, y, r and t values, but in cornerpin we have four points with
>>> x and y values, which value where to link?
>>>
>>> Thanks
>>> Balaji.k
>>>
>>> Ron Ganbar wrote:
>>>
>>>  Just link the crop properties to the corner pin properties.
>>>
>>>
>>> Ron Ganbar
>>> email: [email protected]
>>> tel: +44 (0)7968 007 309 [UK]
>>>      +972 (0)54 255 9765 [Israel]
>>> url: http://ronganbar.wordpress.com/
>>>
>>>
>>>
>>> On 27 May 2011 08:12, Balaji K <[email protected]> wrote:
>>>
>>>> Hi
>>>>
>>>> Anyone know how to move the cornerpin along with crop animation.
>>>>
>>>> I have animated crop values, I want to move the cornerpin along with
>>>> crop animation.  is there any script ?
>>>>
>>>>
>>>> Thanks
>>>> Balaji.k
>>>> --
>>>>
>>>> _______________________________________________
>>>> 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 [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
>>>
>>
>>
>  ------------------------------
>
> _______________________________________________
> Nuke-users mailing [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
>
_______________________________________________
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