ERECT2CUBIC(1)
π NAME π
erect2cubic β bestie, this one makes a hugin .pto file that turns an equirectangular pic into a cubic one β¨
πΈ SYNOPSIS πΈ
erect2cubic --erect=panorama.tif --ptofile=cube_project.pto
nona -o cube_prefix cube_project.pto
π DESCRIPTION π
okay so here's the tea π: you hand it an equirectangular image, and it hands you back a .pto file that's literally built for pulling out six cube faces in TIFF_m format. it's giving "unfold the whole world into a box" energy π¦
the cube faces come out in this exact order, no cap:
- front
- right
- back
- left
- up
- down
the cube edge length? it's set to the sphere diameter, reduced down to the nearest multiple of 8. that's just how it is π
and if your scene needs a lil rotation moment before it goes in, you can prerotate it with the --roll, --pitch and --yaw parameters. main character adjustment fr fr π
erect2cubic --erect=panorama.tif --ptofile=cube_project.pto
nona -o cube_prefix cube_project.pto
β¨ Calling syntax β¨
here's the whole vibe in one go, slashes and all π:
cubic2erect --erect=panorama.tif --ptofile=cube_project.pto \
[--roll=12] [--pitch=34] [--yaw=56] [--filespec=PNG] [--face=1024]
β note: yes, it says cubic2erect up there. we're keeping it exactly as it is. iykyk π«Ά
π License π
this program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. slay, honestly π
π¦ See Also π¦
<http://panotools.sourceforge.net/> β go peek, it's iconic β¨
π Author π
Bruno Postle, <bruno (at) postle.net> β thank you for your service, legend π«Άπ
and that's a wrap, bestie!! this page was cooked up with perl v5.42.0 and stamped 2025-07-25 π
π periodt β¨
π¦ where this page comes from
- fedora 43: perl-Panotools-Script 0.29-20.fc43 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms