https://github.com/gianlucabortoli/cesium-navigator
WebGL navigator using the Cesium framework
https://github.com/gianlucabortoli/cesium-navigator
cesium cesiumjs perfromance real-time webgl
Last synced: 3 months ago
JSON representation
WebGL navigator using the Cesium framework
- Host: GitHub
- URL: https://github.com/gianlucabortoli/cesium-navigator
- Owner: GianlucaBortoli
- License: gpl-3.0
- Created: 2017-06-28T15:34:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T07:46:00.000Z (almost 5 years ago)
- Last Synced: 2025-02-05T15:27:02.589Z (4 months ago)
- Topics: cesium, cesiumjs, perfromance, real-time, webgl
- Language: JavaScript
- Size: 16 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cesium-navigator
WebGL navigator using the Cesium framework### Initial setup
Before cloning the repository follow the [instructions](https://help.github.com/articles/installing-git-large-file-storage/) to install Git LFS.
This extension is used to store some quite big (trace) file inside the repo. After this preliminary procedure a normal `git clone` works as expected.Install NodeJS & NPM. After that, install the dependencies running
```{r, engine='bash', code_block_name}
npm install
```
Install the python2 requirements for the analysis scripts using `pip` running
```{r, engine='bash', code_block_name}
pip install -r requirements.txt
```
The python requirements are **not** necessary to run the navigator app.### How to run it
First start the Cesium local development HTTP server
```{r, engine='bash', code_block_name}
node server.js
```Then start the WebSocket server which simulates position & rotation
```{r, engine='bash', code_block_name}
node ws_sender.js [interval in ms] [# of sent points] [move sent points]
```or using
```{r, engine='bash', code_block_name}
./scripts/ws_sender.sh
```After that, go to `http://localhost:8080/app/navigator.html`
### Keyboard bindings
* _w/up arrow_: move camera forward
* _a/left arrow_: move camera left
* _s/down arrow_: move camera backward
* _d/right arrow_: move camera right
* _q_: move camera up
* _e_: move camera down
* _\+ (add)_: zoom in
* _\- (sub)_: zoom out