@umbra3d/umbrajs v1.7.51
Umbra.js low-level API
Stream in optimized 3D scenes for high performance rendering
This is a library that allows you to stream 3D scenes from Umbra's cloud service.
For three.js support you should use the umbrajs-three high-level package instead.
See the API reference if you want to use Umbra with your own renderer.
Getting the library
npm install @umbra3d/umbrajsBuilding it
To build an UMD module dist/umbra.js run
npm install
npm run buildBuilding it together with umbrajs-three
To test local changes in umbrajs-three you can use the npm link feature in the following way.
cd ~/umbrajs
npm install
npm run build
npm link # make a symlink
cd ~/umbrajs-three
npm install
npm install three@0.110.0 --no-save
npm link @umbra3d/umbrajs # use symlinked local package, not NPM
npm run buildDuring development you may want to build first umbrajs and then umbrajs-three:
cd ~/umbrajs && npm run build && cd ~/umbrajs-three && npm run buildTesting
npx http-server -c 0Then visit http://127.0.0.1:8000/examples/runtime_example.html. Remember to run npm run build beforehand.
License
MIT
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago