最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - how to make a curved plane in threejs - Stack Overflow

programmeradmin3浏览0评论

I am projected a video into 3d geometry using threejs. The footage is from a gopro, so it's got a field of view of maybe 120degrees, so what I want is to be looking as if the footage were wrapped such that it bent a little at the sides, top and bottom (like looking from the inside of a sphere and the video were wrapped around only a portion of that sphere.

I've tried using a torus and sphere, but since the video doesn't pletely wrap, it doesn't do quite what I want. Any ideas?

I am projected a video into 3d geometry using threejs. The footage is from a gopro, so it's got a field of view of maybe 120degrees, so what I want is to be looking as if the footage were wrapped such that it bent a little at the sides, top and bottom (like looking from the inside of a sphere and the video were wrapped around only a portion of that sphere.

I've tried using a torus and sphere, but since the video doesn't pletely wrap, it doesn't do quite what I want. Any ideas?

Share Improve this question edited Apr 10, 2014 at 7:29 user128511 asked Apr 9, 2014 at 22:04 mheaversmheavers 30.2k63 gold badges200 silver badges326 bronze badges 1
  • stackoverflow./questions/16395690/… – Ben Commented Feb 11, 2016 at 18:54
Add a ment  | 

1 Answer 1

Reset to default 8

You probably should try to look for the right equation but, by the time being, you should be able to get something working with something like this:

new THREE.SphereGeometry(75, 16, 8, 0, 2, 1, 1.2);

http://jsfiddle/EHEap/

发布评论

评论列表(0)

  1. 暂无评论