Recovering cube faces from tiles
Posted: Fri Apr 14, 2017 5:05 am
I doubt I am the only one who sometimes needs to recover a panorama from a multiresolution tile set.
With krpano this is not so hard. Its make_tiles function can also do the reverse. You do have to figure out the original face size yourself, and process each face with a separate command line. P2VR uses basically the same tiling scheme as krpano, so it can also be 'undone' with make_tiles, after a bit of preparation.
P2VR tiles sit in a deep stack of directories, despite the fact that the file names clearly identify their places in the tiled cube. Well, that's not so bad, just drag all the files for the highest resolution level into one directory. Then you have to use a utility like Bulk Rename to insert the characters h and v into the file names in the places where krpano expects them. Then you can combine them into a cube face with a krpano command line. Finally use either krpano or P2VR to make an equirectangular from the cube faces.
But what about the P2VR loyalists, who rely on it to make everything easy and automatic, and don't use krpano? Don't they deserve a one-click "UnTile" function? How about it, Thomas?
[BTW the lower right tile is really not oversize, Windows is just showing it that way]
With krpano this is not so hard. Its make_tiles function can also do the reverse. You do have to figure out the original face size yourself, and process each face with a separate command line. P2VR uses basically the same tiling scheme as krpano, so it can also be 'undone' with make_tiles, after a bit of preparation.
P2VR tiles sit in a deep stack of directories, despite the fact that the file names clearly identify their places in the tiled cube. Well, that's not so bad, just drag all the files for the highest resolution level into one directory. Then you have to use a utility like Bulk Rename to insert the characters h and v into the file names in the places where krpano expects them. Then you can combine them into a cube face with a krpano command line. Finally use either krpano or P2VR to make an equirectangular from the cube faces.
But what about the P2VR loyalists, who rely on it to make everything easy and automatic, and don't use krpano? Don't they deserve a one-click "UnTile" function? How about it, Thomas?
[BTW the lower right tile is really not oversize, Windows is just showing it that way]