Free-viewpoint rendering algorithm for 3D TV