Git Product home page Git Product logo

three.js's Introduction

本项目采用three.js实现了两种全景图的渲染方式:

  1. 采用立方体模型,用六个方位的六张全景切图实现拼接渲染
  2. 采用球体模型,用一张全景图,把相机放在球体内部,实现全景渲染。

相比较而言,目前采用立方体模型的项目较多,因为球体模型的渲染对性能损耗较为严重。

参考demo: https://www.h5-share.com/test/threejsdemo-2016-12-09/index.html sphere pano demo中添加了一个实现球体模型渲染全景图的例子,同时支持PC拖拽事件和移动端绑定陀螺仪及手势滑动事件

three.js's People

Watchers

James Cloos avatar malaxiannv 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.