I would imagine it was rendered twice and the transition was done in nuke. I guess there would have been a few IDs for the transition effects. The ice formation would have been dynamics and a separate pass. I didn't work on the chewing gum thing, but we did similar transition type effect on Xmen.