View Full Version : Equirectangular to cubic strip
davos
07-02-2007, 06:30 PM
I know there is another thread about this but was wondering if anyone had a workflow to convert directly from Equirectangular to cubic strip )pref a batch process) on mac or even from .mov file, or do i have to set up a pc just to do this??
any idea would be great
TIA
pcrowley
07-02-2007, 08:41 PM
I use a free tool written by Bruno Postle http://search.cpan.org/~bpostle/Panotools-Script-0.06/
It does require some installation of Perl and ImageMagick's Perl extension, both of which can be found and installed free from http://www.cpan.org . Once everything is installed, it is a simple command to convert from equirectangular to cubefaces, cubefaces to equirectangular, equirectangular to QTVR, etc.
These tools are free, can be used on Mac, PC, and Unix\Linux, and once installed are easy to use.
-Peter
pcrowley
07-02-2007, 11:41 PM
My previous post was for offline conversion to cube faces, which can then be put into a cube stripe. For online conversion, see the discussion in http://flashpanoramas.com/forum/showthread.php?t=159
code to create cube stripe from cube faces with the convert utility from ImageMagick:
convert front.tif right.tif back.tif left.tif up.tif down.tif +append stripe.jpg
asmilie2b3
07-27-2007, 12:12 PM
pcrowley,
I tried to find the tool you mention on
http://search.cpan.org/~bpostle/Panotools-Script-0.06/
There are several there, and I can't find something that says it will take a cylinder (or sphere which is really what I am after) and turn it into a cube strip.
Could you or anyone point me in the right direction?
ggarrido
10-25-2007, 01:04 PM
You all should try pano2VR.. you can convert equirrectangular to strip very easily.
regards!
ericob
10-27-2007, 09:42 PM
The package available at http://search.cpan.org/~bpostle/Panotools-Script-0.09/ does contain a "erect2cubic" script. It's just not mentioned on the main page. I'm uncertain if there is any explicit documentation. Looking inside the script, it appears you'd use it like this:erect2cubic nameOfEquirectangularFile.tifI do not know Perl, but it appears that this script creates, then executes, 6 different panotools scripts that extract each of the 6 cube faces (using the stitcher nona).
Speaking of Macintosh... since AppleScript can execute shell scripts, it would in principle be possible to write something using AppleScript Studio that presented a visual interface to this functionality.
Also, if you don't know about CubicConverter and CubicConnector, by Click Here Design, you should check it out: http://www.clickheredesign.com/.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.