Real-time environmental reconstruction