How the brain processes 3D motion