I made this for a recent project, and it came out pretty good so I thought I 'd share. It's an "auto zoom" compound, like the subject says. It automatically controls the camera FOV, so that effectively the camera constantly zooms-to-fit the given target(s).
It is user customizable in a number of ways.
Download AutoZoom Compound
To use it, just make a null, add an ICE tree to it, then add the compound. Provide the camera and the target object(s), then play with the settings. Don't add it to an ICE tree on the camera itself, use a null !
The controls are more or less self-explanatory I think, but there's also a quick description for each one here :
AutoZoom Help
(online help page is also accessible in netview by right-clicking on the compound).
It may not be the best or cleanest code ever, but it's fast, and worked perfectly for me, so I hope someone else finds it useful too.
Questions, comments, etc. all welcome
cheers,
nick