Data-driven tools for scene modeling