Cheers for that... I think this is definitely down the right path, also 
potentially useful for lots of other stuff.

I ended up being able to work around needing the concatenated corner pins in 
this case by going into mocha and getting the exact cornerpin I needed in there 
(its tracker worked better than nukes in this case) and one other shot I had a 
3D track for and did lots of reconcile 3D juggling to get the coreners I needed.

In reference to oliviers post as well I might still be missing something you're 
referrring to but I adsolutely positively have to derive corner pins as the 
data is being text exported to run a real time corner pin inside flash where 
the code is using the corner pins to distort a user uploaded image. So no 
screen based per pixel distortions only corner.

Cheers,

Dave

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Stephen 
Newbold
Sent: Friday, 20 July 2012 7:52 PM
To: Nuke Python discussion
Subject: Re: [Nuke-python] how to derive concatenated cornerpin coords

Not sure if this is entirely what you are after but look at this post.

http://forums.thefoundry.co.uk/phpBB2/viewtopic.php?t=5807&sid=3a0080466223a0e24bdf0d2a95643aa0

Here Ivan explains how to generate a transformation matrix from your cornerpin. 
 I guess then you can simply transform your tracker positions with this matrix 
and export the data as you usually would for your other system?

Steve

[email protected] wrote:
> We use that technique for our stereo prep to align 1 eye to the other. 
> They are custom tools but based on STmap.
> It works like a displacement map, i don't see why an other system 
> couldn't get the same result
>
> Dave McDonnell wrote:
>> Heya
>>
>> I actually need to derive 2D corner pins tho for the system we're 
>> sending it to. So I'm still left with generating those from a UV map 
>> unless there's something I'm missing.
>>
>> Cheers,
>>
>> Dave
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of 
>> [email protected]
>> Sent: Friday, 20 July 2012 1:01 AM
>> To: Nuke Python discussion
>> Subject: Re: [Nuke-python] how to derive concatenated cornerpin 
>> coords
>>
>> You could create a UV map that would be the baked result of any 
>> transform you did, no need to script.
>>
>> Dave McDonnell wrote:
>>  
>>> Hey everyone
>>>  
>>> I need to export 2D corner pin data to another system from Nuke from 
>>> a concatenated corner pin.
>>>  
>>> Basically I have trackers in the middle of a plane that I have 
>>> tracked, upstream from that cornerpin I have another cornerpin that 
>>> is there to push the corners to where they are really meant to be as 
>>> the trackable points are offset from the corners somewhat.
>>>  
>>> What I'd like to get is the 2D screen points of the upstream corners 
>>> as transformed by the downstream cornerpin.
>>>  
>>> Is this doable? Any help much appreciated.
>>>  
>>> Cheers
>>>  
>>> Dave
>>> --------------------------------------------------------------------
>>> --
>>> --
>>>
>>> _______________________________________________
>>> Nuke-python mailing list
>>> [email protected],
>>> http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>>       
>>
>> _______________________________________________
>> Nuke-python mailing list
>> [email protected], http://forums.thefoundry.co.uk/ 
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>> _______________________________________________
>> Nuke-python mailing list
>> [email protected], http://forums.thefoundry.co.uk/ 
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>   
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/ 
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


--
Stephen Newbold
Compositing Lead - Film
MPC
127 Wardour Street
Soho, London, W1F 0NL
Main - + 44 (0) 20 7434 3100
www.moving-picture.com

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

Reply via email to