It's very likely pre-calculated, realtime rendered, as it doesn't look good enough IMO to be offline-rendered.
Not that the mast of a ship would be able to plow straight through a huge bridge like that in real life, it would bend or break off long before causing significant damage to the bridge, of course...
It's just Hollywood' physics... You know, like cars exploding when shot...