Open ProGamerGov opened 1 year ago
Hi,
I once 'reverse engineered' generate.py and created recover.py just for this, as I had lost some original photos and equirectangular panoramas due to a hard drive crash. I had the multiresolution at the site, so I used it. You will need the (original) cubesize of the panorama, which can be found in the "config.json" in the same folder of the multiresolution files. Here is how to use it: python recover.py -c 6360 pp_cla/ in a case where the cube size is 6360 and the multiresolution (tiles) folder is pp_cla (of course you can give the full path if they are at some other place). This will create the 6 cube faces and a Hugin project to rebuild your equirectangular, however a bit smaller.
I hope this works for you!
regards,
Luís Henrique Camargo Quiroz
Em qui., 2 de mar. de 2023 às 20:50, ProGamerGov @.***> escreveu:
As the title says, I'd like to be able to recreate the original image using only the tiles. Is this possible to do, and if so how?
— Reply to this email directly, view it on GitHub https://github.com/mpetroff/pannellum/issues/1145, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPYPLMJWIO2TKC4TXLBHUTW2EW55ANCNFSM6AAAAAAVOAAKWU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- -- Luis Henrique Camargo Quiroz http://luishcq.br.tripod.com - http://www.christusrex.org/www2/cantgreg http://panoramaslh.net/
I saw Hugin mentioned, but the download seems sketchy these days as it seems to require changes to your web browser for the install to work.
That shouldn't be the case. The Windows binaries (I assume you're on Windows) are provided by a long-time developer of Hugin, and SourceForge stopped doing sketchy things with downloads after the last ownership change in 2016.
Hugin is only used for the equirectangular to cube map reprojection step, but I'm sure you can also find other software to do that. The more custom part is the conversion of the cube faces to tiles, but @luishcq's script can apparently reverse that.
@luishcq You didn't include your script (or if you attached it to your email, such attachments don't seem to make it to the GitHub issue tracker).
Here the script - I may have failed to send it :(
Em ter., 7 de mar. de 2023 às 14:37, Matthew Petroff < @.***> escreveu:
I saw Hugin mentioned, but the download seems sketchy these days as it seems to require changes to your web browser for the install to work.
That shouldn't be the case. The Windows binaries (I assume you're on Windows) are provided by a long-time developer of Hugin, and SourceForge stopped doing sketchy things with downloads after the last ownership change in 2016.
Hugin is only used for the equirectangular to cube map reprojection step, but I'm sure you can also find other software to do that. The more custom part is the conversion of the cube faces to tiles, but @luishcq https://github.com/luishcq's script can apparently reverse that.
@luishcq https://github.com/luishcq You didn't include your script (or if you attached it to your email, such attachments don't seem to make it to the GitHub issue tracker).
— Reply to this email directly, view it on GitHub https://github.com/mpetroff/pannellum/issues/1145#issuecomment-1458570096, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPYPLPAI5CZ4VNMOYRXZNDW25W6FANCNFSM6AAAAAAVOAAKWU . You are receiving this because you were mentioned.Message ID: @.***>
-- -- Luis Henrique Camargo Quiroz http://luishcq.br.tripod.com - http://www.christusrex.org/www2/cantgreg http://panoramaslh.net/
@luishcq You have to reply from the GitHub web interface in order to attach files. Files attached to email replies are dropped.
Thanks Matthew for pointing me to the right way to attach files.
So, here is the script... well, first I had to zip it, python files are not accepted here ;)
As the title says, I'd like to be able to recreate the original image using only the tiles. Is this possible to do, and if so how?
I saw Hugin mentioned, but the download seems sketchy these days as it seems to require changes to your web browser for the install to work.