There's a bit if a learning curve, but Blender, which is a free open source 3D program, can do node based compositing.
So you can do a lot of te same things that AE does. I use both AE and Blender. To me, the node based compositing isn't as familiar as te layer based compositing if after...