hmmmm, a little strange. I expected that this is something that everyone new how to do, except for me that is

I don't have maya or max, but why should TG2 need another 3d app to make it work in a movie production? Tg2 was meant for movie making, I thought? Maybe (and I really don't know) what Im asking how to do is not possible? That would be really harsh, because compositing moving images together is an important part of what Im trying to do.
I know how to composite two images together, i can work with moving shots, or movement in a shot, and I can bring a TG2 shot in and make it work rather easily as a matte. I can set up the shot for angle and light in TG2 to mach my foreground, But if there is a zoom or pan or, dolly this way or that, in the foreground shot, it must be matched, correctly, in the background. What is the method for this in TG2? And a skybox is not what Im getting at here, just to be clear.
I could set the camera up in tg2 to match manually, for a simple slow or fast zoom. But for more complex shots I need to be able to program the movement without spending thousands on another 3d app.
Just suppose for conversations sake that there is only say 20' between the camera lens and the (360 degree) green screen, now the camera zooms (slowly) past the foreground subject into the matte, and then zig-zages even as bumble bees fly (with some foreground still in the shot and then shoots out to space (for example

). So how do I match?
Help please