Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creative-connections/bodylight-virtualbody
Web application and components for 3D visualisation of human body in WEBGL
https://github.com/creative-connections/bodylight-virtualbody
Last synced: about 2 months ago
JSON representation
Web application and components for 3D visualisation of human body in WEBGL
- Host: GitHub
- URL: https://github.com/creative-connections/bodylight-virtualbody
- Owner: creative-connections
- License: mit
- Created: 2020-05-06T13:56:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T08:45:04.000Z (over 2 years ago)
- Last Synced: 2024-04-15T23:11:11.907Z (9 months ago)
- Language: HTML
- Homepage: https://bodylight.physiome.cz/Bodylight-VirtualBody/
- Size: 49.9 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Virtual Body - Default Virtual Patient App
This application doesn't need installation, see it live at https://bodylight.physiome.cz/Bodylight-VirtualBody/.
If in big screen - use chrome in kiosk mode `chrome.exe --kiosk https://bodylight.physiome.cz/Bodylight-VirtualBody/`
If in VR/AR device open browser and go to URL `https://bodylight.physiome.cz/Bodylight-VirtualBody/` and use the button `ENTER VR`.
## screenshot
![screenshot](static/help/screenshot.PNG)## Local installation
This project is bootstrapped by [aurelia-cli](https://github.com/aurelia/cli).
brief installation:
```bash
git clone https://github.com/creative-connections/Bodylight-VirtualBody
npm install
au build
# map web server to host /dist folder or do `au run` and see localhost:...
```
For more information, go to https://aurelia.io/docs/cli/webpack## Local cache of GLTF files
GLTF files of 3d models are externally hosted on public cloud. You may download it offline by the script:
`python cachemodels.py`
- this will download the model files into `/static/models` directory which is not part of source control. Scened3d object checks whether local files are available, if not then remote files are downloaded.## Add new 3d model
- upload to public pcloud -
- add new entry line to src/components/objects3d.json
- add code to load object into src/components/scene3d.js## Build for test
Run `au build --watch`. build/virtualbody contains the html and js files - these should be aliased from local apache config.
## Build for production
Run `au build --env prod`.
## Unit tests
Run `au test` (or `au jest`).
To run in watch mode, `au test --watch` or `au jest --watch`.
## Integration (e2e) tests
You need the app running for integration test.
First, run `au run` and keep it running.
Then run `au protractor`.