How to export a THREE.JS scene into a 360 texture for photosphere

我怕爱的太早我们不能终老 提交于 2019-12-01 05:46:24

I put together a few different libraries to enable 360 video and photo capture from Three.js

https://github.com/imgntn/j360

here is what I did.

I set up 6 cameras, captured each viewport and fed it into a 360 shader as texturecube.

It seems you could render two frames from a 180FOV camera, the first aimed at (0,0,1), and the second at (0,0,-1). Next, stitch them into a single image.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!