threedr-viewer
v0.1.0
Published
3DR Viewer: panorama rendering library and demo web page
Readme
3dr-viewer-demo
Panorama demo viewer for 3DR project
Authors
Development Environment
npm[email protected]protoc(protocol buffer compiler)- MacOS:
$ brew install protobuf $ protoc --version - Linux:
$ sudo apt install protobuf-compiler $ protoc --version - 원래는
npm install --save-dev protoc으로 설치하려 했는데,
M1 Mac에서 실행이 안되는 이슈가 있어서, 부득이하게 시스템에 protobuf 설치하도록 함.
- MacOS:
Build
- Build distribution files:
$ npm install $ npm run build- Then distribute all files in
dist/directory:dist/ |- threedr-viewer.js
- Then distribute all files in
- Test a sample and demo page in your local environment:
- Open python server:
Then open$ python -m http.server <port-number>http://localhost:<port-number>/demo/. - Or open with rollup:
Then open$ npm run testhttp://localhost:9004/demo/.
- Open python server:
- Clean
dist/directory:$ npm run clean
