Rotating effect

hi
I would like to know how can I achieve an effect similar to the rotating cube in this template. I like the 3D effect, how do they do that?
Thanks for your help

http://www.perfectory.com/portfolio.htm
enter the keyword 9018