Physically Compatible 3D Object Modeling from a Single Image