Planar Abstraction and Inverse Rendering of 3D Indoor Environment