to add
for a -90 degree "pitch" rotation you can use the Hugin perl scripts " Panotools-Script" from Cpan
http://hugin.sourceforge.net/
scripts
http://search.cpan.org/~bpostle/Panotools-Script/
run this on the test map
Code:
erect2cubic --erect=lines10.tif --face=1024 --ptofile=lines10.pto
seeing as this outputs a CUBE MAP to move the faces rotate image 1 and 3 + 90 deg. clockwise
and rotate 4 180 deg.
then reorder the faces
Code:
cubic2erect 5.png 1.png 4.png 3.png 0.png 2.png test
and you get this
a CUBE map is this -- for reference
you can also do this manually from within the hugin GUI
it is just that the time is greator
from 1 minuet to about an hour