richtr / threeVR

An orientation-aware Virtual Reality controller for web browsers built on top of three.js
http://richtr.github.io/threeVR/examples/vr_basic.html
439 stars 97 forks source link

Best way to create the images? #7

Closed dirkk0 closed 8 years ago

dirkk0 commented 9 years ago

Hi,

I know that this is out of scope of this project but - do you know a 'best way' to create the 6 images used by it?

Thanks, Dirk

dongwenxiao commented 8 years ago

So, do you get zhe best way ? I hope zhe anwser,too...

Thanks, victor

richtr commented 8 years ago

The six images used are part of a cube map.

The best way to obtain such images is to first capture an equirectangular panorama using a 360 degree camera. You can then project this equirectangular image on to a sphere (e.g. like this) or you could convert it to a cube map using e.g. this mechanism and project each of the 6 images on to a sphere as in the demo provided in this library.

If you do not want to, or can not, use specialist equipment to capture images then you should also check out Google Photo Sphere that produces equirectangular panorama images on both Android and iOS devices.