Open zmax92 opened 5 years ago
It's not supported yet. I'm working on to get it supported
Following !
Till this is supported, I have found this simple tool for converting cubemap to equirectangular... https://www.360toolkit.co/convert-cubemap-to-spherical-equirectangular.html
The implementation of cubemap is already done and if you are using a local package synced with our Github repo you can already use it. Otherwise you can wait and we will have a npm release containing all recent changes.
You can follow the guide in the commit about how to use cubemap 360 photo and 360 video. https://github.com/facebook/react-360/commit/43393434e958d3210d23457dfb8e8f0acd4e310f
The 360 photo uses 1x6 cubemap, which is in the order of
right, left, top, bottom, back, front.
from top to bottom,
The 360 video uses 3x2 cubemap with 1% expansion, which is in the order of
right, left, top, bottom, front, back
from top left to bottom right. You can use https://github.com/facebook/transform360 to generate this format video
in client.js I can set background with
but then image must be equirectangular. Is there a way to set background as cube map, or multiple 2d pictures like![cubemap](https://user-images.githubusercontent.com/12643259/48517328-3f3bec00-e866-11e8-83d7-034847722dd5.png)