From Pixels to Scenes: Recovering 3D Geometry and Semantics for Indoor Environments