The 2d animation was done by the team at Fat Lizard. The cap was modelled in 3d then composited together with the live action and 2d animation using Softimage DS.