IlvImageTileLoader* loader = new IlvImageTileLoader(display, "tiles/tile_%c_%r.jpg", "%03d", "%02d", adapter); IlvMapsError status = loader->getInitStatus(); if(status != IlvMaps::NoError()) return status; IlvImageLayer* layer = new IlvImageLayer(loader, getTileOrigin()); IlvManager* manager = new IlvManager(display); manager->addLayer(layer); manager->save(ofstream("out.ilv")); |