Coding the parallax effect