Photoshop's Warp command transforms layers into a predefined shape. Bert Monroy used it on the glasses in Lunch in Tiberon, here he types the word "Digg" and demonstrates many of the effects you can create with it.