C. J. Howard c020614567 | 2 years ago | |
---|---|---|
.. | ||
Makefile | 2 years ago | |
README.md | 2 years ago | |
binding.cc | 2 years ago | |
compile_to_js.sh | 2 years ago | |
index.html | 2 years ago | |
test.js | 2 years ago | |
tinyexr.js | 2 years ago |
Using Emscripten.
edit compile_to_js.sh
, then
./compile_to_js.sh
Requires node.js
$ node test.js
Edit EXR file in index.html
Copy a EXR file to this directory(default = asakusa.exr).
(NOTE: Chrome does not allow reading a file from parent path(e.g. ../../asakusa.exr
).
Launch http server, e.g.,
$ python3 -m http.server
Open http://localhost:8000
with an browser.