Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在three.js中使用360视频作为背景?_Three.js_360 Degrees_360 Virtual Reality - Fatal编程技术网

如何在three.js中使用360视频作为背景?

如何在three.js中使用360视频作为背景?,three.js,360-degrees,360-virtual-reality,Three.js,360 Degrees,360 Virtual Reality,我想放一段这样的视频: 作为本网站的背景: 查看以下内容: 这是: 这是: 这是: SphereGeometry()的默认UV贴图适用于我尝试过的许多360个视频。。因此,制作一个3.Mesh(3.SphereGeometry(100,16,16),新的3.MeshBasicMaterial({map:Your video texture},side:3.BackSide)) 制作一个100个单位的视频球体,仅渲染球体内部

我想放一段这样的视频:

作为本网站的背景:

查看以下内容:

这是:

这是:

这是:

SphereGeometry()的默认UV贴图适用于我尝试过的许多360个视频。。因此,制作一个3.Mesh(3.SphereGeometry(100,16,16),新的3.MeshBasicMaterial({map:Your video texture},side:3.BackSide))

制作一个100个单位的视频球体,仅渲染球体内部