Quantum-Hall physics and three dimensions