Towards spatial general intelligence