Capturing and viewing images in 3D