X-Git-Url: https://codewiz.org/gitweb?p=mandelwow.git;a=blobdiff_plain;f=README.md;h=56986a6720ae3a8689895ed153fd78e4abb26e4b;hp=9be1a310b1af595474c055d6191c836dff1a028e;hb=811e20651e7cc743ad654bda75aff82cae6d33b3;hpb=5466a1137a9a4b27a99b83c45c0b337775bacf7c diff --git a/README.md b/README.md index 9be1a31..56986a6 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,12 @@ I wrote this demo to learn Rust & basic GLSL. Mind the mess. ## Requirements The native binary requires OpenGL 3.1. Should perform well on reasonably modern -hardware. Tested on Linux with Intel HD Graphics 4000 (Ivy Bridge) and NVidia GTX 970. - -The asmjs and WebAssembly versions were tested on Chromium 57 and Firefox 53. +hardware. Tested on: + * Linux with NVidia GTX 970 (Mesa 17.1 Nouveau driver) + * Linux with Intel HD Graphics 4000 (Ivy Bridge) + * Windows 10 with NVidia GTX 970 + * The asmjs and WebAssembly build works on Chromium 57 and Firefox 53 ## Building from source @@ -23,6 +25,9 @@ The asmjs and WebAssembly versions were tested on Chromium 57 and Firefox 53. Install cargo (either your distro's packaged version or via rustup), then go to the source root and type: ``` +cd mandelwow +git submodule init +git submodule update cargo run --release ``` @@ -64,9 +69,10 @@ Install emsdk: cd ~ curl -O https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz tar xf emsdk-portable.tar.gz -source emsdk-portable/emsdk_env.sh -emsdk install emscripten-1.37.9 --build=MinSizeRel -emsdk activate emscripten-1.37.9 --build=MinSizeRel +cd emsdk-portable +source ./emsdk-portable/emsdk_env.sh +emsdk install latest --build=MinSizeRel +emsdk activate latest --build=MinSizeRel ``` Install rustc: