https://github.com/aivclab/raykarstenwebasm
Tutorial Web Assembly and Ray Casting
https://github.com/aivclab/raykarstenwebasm
demo ray-casting
Last synced: 4 months ago
JSON representation
Tutorial Web Assembly and Ray Casting
- Host: GitHub
- URL: https://github.com/aivclab/raykarstenwebasm
- Owner: aivclab
- License: apache-2.0
- Created: 2020-01-10T13:13:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T13:24:04.000Z (over 5 years ago)
- Last Synced: 2025-01-19T13:16:23.518Z (6 months ago)
- Topics: demo, ray-casting
- Language: C++
- Homepage: https://medium.com/@trier.t/ray-casting-in-web-assembly-part-1-81662a341669
- Size: 396 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# RayKarstenWASM
Tutorial Web Assembly and Ray Casting
[Link to article](https://github.com/aivclab/RayKarstenWebAsm)
## Quickstart
Following is a quickstart guide to get your computer setup for running the demo
### Get Emscript
#### Get the emsdk repo
```
git clone https://github.com/emscripten-core/emsdk.git
```#### Enter that directory
```
cd emsdk
```#### Download and install the latest SDK tools.
```
./emsdk install latest
```#### Make the "latest" SDK "active" for the current user. (writes ~/.emscripten file)
```
./emsdk activate latest
```#### Activate PATH and other environment variables in the current terminal
```
source ./emsdk_env.shcd ..
```### Running the demo
```
git clone https://bitbucket.alexandra.dk/scm/cg/raykarstenwebasm.gitcd raykarstenwebasm
chmod +x runMake.sh
chmod +x setEnv.sh./setEnv.sh
./runMake.sh
```