Skip to content

Convert 6 images (6 faces of a cube) to 1 equirectangular image.

License

Notifications You must be signed in to change notification settings

perthcpe23/cube-to-equirectangular

Repository files navigation

Compile:

javac -d bin src/com/longdo/pano/Cube2Erect.java

Run:

java -cp bin com.longdo.pano.Cube2Erect

Usage:

java -cp bin com.longdo.pano.Cube2Erect <back> <bottom> <front> <left> <right> <top> <output>

Example:

java -cp bin com.longdo.pano.Cube2Erect f0_back.jpg f0_bottom.jpg f0_front.jpg f0_left.jpg f0_right.jpg f0_top.jpg output.jpg

Example cube faces:


Example output:

Extra tips
View equirectangular image using Longdo Panorama API. Try your output.jpg by drag-and-drop it on a panorama scene in a demo website.

Contact

perth.s28@gmail.com

About

Convert 6 images (6 faces of a cube) to 1 equirectangular image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published