object as a projector

Is there a script that turns geometry into a projector? A cube would project out each side on the face normal. If it were the surface of banana the map projection would spread out and condense the image like a lens.

I think it would be the opposite of a environment map.

Not camera or light mapping.

thanks