Update: for an easier way, see Overunder Panorama Viewer.
Instructions:
-
Convert original vr.jpg Cardboard Camera image into over-under equirectangular with this webservice.
-
Split the over-under equirectangular image in two using the following ImageMagick command:
magick convert <IMAGE.png> -crop 1x2@ +repage +adjoin pano_%d.png
Note: replace <IMAGE.png>
with the name and format of the image you want to split.
This command will add two new files to your directory. I suggest renaming them to avoid confusion:
- pano_0.png -> left.png
- pano_1.png -> right.png
-
Upload the left and right images to the host of your choice. Beware of CORS issues. Imgur worked for me.
-
Go to this codepen and hit the "fork" button (or fork this Gist and use bl.ocks).
-
Replace the links on lines 4 and 5 with your own.
CodePen has a number of different views, "debug" is the cleanest.
References
Credit for Cardboard panorama: Google.
@jumpjack I would try using breakpoint somewhere inside the code on this page, while it is processing, and looking the state for some hints http://storage.googleapis.com/cardboard-camera-converter/index.html