Hi Dan, thanks for your reply. After thinking about it a bit more I understand that it might not even be possible (the corner pin not being a rectangle for example).
However, there might be other ways to get to the effect I’m looking for. I’m having a shot with a ballon wobbling in the air and I need to attach graphics to it. I can just track the tracking marks on the ballon and attach the graphics, but that doesn’t rotate correctly as the ballon rotates. A corner pin is close, but not perfect.
Take a look at the “Comparing Transform to Rotation and starting our track” (free video) at https://www.digitaltutors.com/11/training.php?cid=203&vid=15417.
It shows the difference between having a simple 2d transform track to having 3d rotation. Note that no 3d tracking is used.
I’m pretty sure you can create the same setup in AE (no spheres, but with a couple of layers rotated you would have pretty much the same thing). I guess it works by converting the 2d position data to camera rotation and then using that somehow.
A script that converts 2d tracking data to a rotating camera can be found at: https://www.3dmation.com.
Do you think this could be done? Hard, but possible?