vue-sphericalimage
Vue component - Display, switch, drag operation of 360 panoramic image
Example
https://112ka.github.io/example/vue-sphericalimage/
Install
Import dependencies
Install component
or
yarn add vue-sphericalimage
or
npm install vue-sphericalimage
Vue
Usage
//Load three.js texturesconst loadTexture = { const loader = loadercrossOrigin = '*'; return { loader }} let arr = Promiseallarr
//And set 'textures' props<template> <SphericalImage :textures="textures"/></template>
Licensing
MIT