corner pin to keyframed null
Hi,
Can I use 3D data to control corner pinning?
I'm a newcomer to AE, trying to comp video footage into a 3D scene. I've got so far, but now I'm completely stuck.
I attached locators to the corners of some flat geometry which moves and rotates through a Maya scene, and I've managed to get these and the animated camera data out using an .ma file.
I've scaled the camera data to fit a rendered sequence of the scene inside AE, so now I have the CGI footage along with a camera and keyframed nulls that precisely match the rendered geometry's movement.
I have a separate video sequence that I want to fit over the geometry, so in essence - a simple screen replacement.
All of the corner pin/camera matching tutorials I've looked at are based on camera tracking from actual film footage, which I don't have. My initial 3D footage from Maya doesn't follow typical 'realistic' movement or physics, so motion or camera tracking doesn't work when I've tried it on the rendered sequence of the 3D scene.
I tried converting the video to a 3D layer and positioning it over the rendered geometry, which works to an extent but it's not entirely accurate.
I was hoping I could pin the corners of the video to the locators, but this shrinks the video layer down to a tiny size.
My nulls have position and rotation data, so is it overkill to use one on each corner, or can I use just one to control everything? I've tried parenting the video to one of the nulls, which gives the correct movement, but the positioning is wrong and I've no idea how to translate it once it's parented.
Is there any way I can motion/camera track the nulls or otherwise use them to position my video layer? I imagine this is precisely what camera and locator data are used for, but I can't work out how.
help!
thanks
J
