项目作者: aivclab

项目描述 :
Tutorial Web Assembly and Ray Casting
高级语言: C++
项目地址: git://github.com/aivclab/RayKarstenWebAsm.git
创建时间: 2020-01-10T13:13:41Z
项目社区:https://github.com/aivclab/RayKarstenWebAsm

开源协议:Apache License 2.0

下载


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

  1. git clone https://github.com/emscripten-core/emsdk.git

Enter that directory

  1. cd emsdk

Download and install the latest SDK tools.

  1. ./emsdk install latest

Make the “latest” SDK “active” for the current user. (writes ~/.emscripten file)

  1. ./emsdk activate latest

Activate PATH and other environment variables in the current terminal

  1. source ./emsdk_env.sh
  2. cd ..

Running the demo

  1. git clone https://bitbucket.alexandra.dk/scm/cg/raykarstenwebasm.git
  2. cd raykarstenwebasm
  3. chmod +x runMake.sh
  4. chmod +x setEnv.sh
  5. ./setEnv.sh
  6. ./runMake.sh