Coder Social home page Coder Social logo

jenner4s / panorama-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from district10/panorama-viewer

0.0 2.0 0.0 30.28 MB

Panorama image viewer 全景图查看器

Home Page: http://tangzhixiong.com/panorama-viewer/?src=yellow-crane-tower.json

License: MIT License

Makefile 0.03% HTML 16.78% Shell 0.01% CSS 0.46% JavaScript 82.72%

panorama-viewer's Introduction

panorama-viewer

Panorama image viewer 全景图查看器

由 Three.js 的几个 example 程序改写而来。详细见 Wiki。

我的一篇博客: 小米全景相机全景图查看器 - 简书

如果 GitHub 加载慢, 可以用这个: http://tangzx.qiniudn.com/panorama/.

使用方法

  1. 加载本地全景图: 通过选择本地图片文件

  2. 加载线上全景图: 通过输入图片 url

  3. 通过 URL 指定预加载全景图: http://tangzhixiong.com/panorama-viewer?src=http://7ximr7.com1.z0.glb.clouddn.com/38424910751_50221c2b8f_k.jpg&title=图片来自flickr

  4. 通过 URL 指定预加载多张全景图: http://tangzhixiong.com/panorama-viewer?src=yellow-crane-tower.json 其中 json 文件的格式为:

    {
        "title": "黄鹤楼 (Yellow Crane Tower)",
        "sites": {
            "site 1": "images/yellow-crane-tower/1_minified.jpg",
            "site 2": "images/yellow-crane-tower/2_minified.jpg",
            "site 3": "images/yellow-crane-tower/3_minified.jpg",
            "site 4": "images/yellow-crane-tower/4_minified.jpg",
            "site 5": "images/yellow-crane-tower/5_minified.jpg",
            "site 6": "images/yellow-crane-tower/6_minified.jpg",
            "site 7": "images/yellow-crane-tower/7_minified.jpg"
        }
    }

THREE 自带的图

仪器博物馆 1

{title="HDPano_00000013.jpg"}

仪器博物馆 2

{title="HDPano_00000015.jpg"}

仪器博物馆 1&2 匹配


Tools:


Notes:

panorama-viewer's People

Contributors

dvorak4tzx avatar district10 avatar

Watchers

James Cloos avatar Jenner avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.