vrmaker
Version:
vamaker sdk help you build your 360 panorama solution more easily by aframe or krpano.
87 lines (61 loc) • 1.78 kB
Markdown
and edit your 360 panorama solution more easily by aframe or krpano.
[ ](https://istaging.gitbook.io/vr-marker-sdk)
- viewer
- KrpanoViewer (recommend)
- auto rotation
- change animation
- support cubemap
- AframeViewer
- auto rotation
- panorama (pending - need your server communicate with vrmaker backend api)
- cubemap
- auto hotspot
- marker (pending - need your server communicate with vrmaker backend api)
- point
- tag
Install dependencies by npm or yarn
``` bash
npm install
```
``` bash
import VRMaker from 'vrmaker'
// init krpano viewer (recommended)
new VRMaker.krpanoViewer()
...
// init aframe viewer
new VRMaker.AframeViewer()
...
// check more in documation or examples, dev folder
```
``` bash
// include script
<script src="https://www.istaging.com/sdk/vrmaker.js">
// init krpano viewer (recommended)
new VRMaker.krpanoViewer()
...
// init aframe viewer
new VRMaker.AframeViewer()
...
// check more in documation or examples, dev folder
```
Warning: use aframe will not support auto rotation, animation cubemap.
Use node express sample server to get the access key to upload your panoramas by vrmaker backend server api and init it by krpano or aframe.
Check in the examples folder.
``` bash
npm start
```
You can also only use your own data without istaging api to create 360 viewer. (not recommended)
Check in the dev folder.
``` bash
npm run dev
```
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).
VRMaker js sdk help you build