简体   繁体   English

部分全景图(iPhone全景图),three.js或Pannellum?

[英]Partial panorama (iPhone panorama), three.js or Pannellum?

For 2 weeks now, I have been struggling with this issue, not using Pannellum, but with all kinds of Js libraries, among them ThreeJS, with no success. 2个星期以来,我一直在努力解决此问题,而不是使用Pannellum,而是使用各种Js库(包括ThreeJS),但均未成功。 Pannellum looks promissing, and have seen that it supports partial panoramas (1 photo). Pannellum看起来不错,已经看到它支持部分全景(1张照片)。 Basically I want to build a panorama player like the one on Facebook. 基本上,我想在Facebook上建立一个全景播放器。 I have uploaded panorama photos taken with my iPhone, and they are not 360 degr. 我已经上传了用iPhone拍摄的全景照片,但它们不是360度的。 In short, can anyone provide me with an example of partial panorama using Pannellum or Three.js? 简而言之,有人可以使用Pannellum或Three.js为我提供部分全景的示例吗? Then I would be very happy and thankful. 那我将非常高兴和感激。

If someone need it. 如果有人需要。

  pannellum.viewer('panorama3', {
    "type": "equirectangular",
    "panorama": "Link",
    "autoLoad": true,
    "haov": 180,
    "vaov": 62,
    "minYaw": -76.935,
    "maxYaw": 76.935,
    "minPitch": -27.905,
    "maxPitch": 30.245,
    "showZoomCtrl": false,
    "mouseZoom": false,
    "keyboardZoom": false,
    "hfov": 80,
    "orientationOnByDefault": true
});

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM