aivclab / RayKarstenWebAsm

Tutorial Web Assembly and Ray Casting

Home Page:https://medium.com/@trier.t/ray-casting-in-web-assembly-part-1-81662a341669

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

header

RayKarstenWASM

Tutorial Web Assembly and Ray Casting

Link to article

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.sh

cd ..

Running the demo

git clone https://bitbucket.alexandra.dk/scm/cg/raykarstenwebasm.git

cd raykarstenwebasm

chmod +x runMake.sh
chmod +x setEnv.sh

./setEnv.sh
./runMake.sh

About

Tutorial Web Assembly and Ray Casting

https://medium.com/@trier.t/ray-casting-in-web-assembly-part-1-81662a341669

License:Apache License 2.0


Languages

Language:C++ 96.3%Language:Objective-C 2.0%Language:C 0.9%Language:JavaScript 0.5%Language:CMake 0.2%Language:HTML 0.1%Language:CSS 0.0%Language:Shell 0.0%