🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
C. J. Howard c020614567 Add tinyexr module 2 years ago
..
Makefile Add tinyexr module 2 years ago
README.md Add tinyexr module 2 years ago
binding.cc Add tinyexr module 2 years ago
compile_to_js.sh Add tinyexr module 2 years ago
index.html Add tinyexr module 2 years ago
test.js Add tinyexr module 2 years ago
tinyexr.js Add tinyexr module 2 years ago

README.md

Experimental JavaScript port of TinyEXR

Using Emscripten.

How to compile

edit compile_to_js.sh, then

./compile_to_js.sh

How to run test

Requires node.js

$ node test.js

How to run a browser example

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.

TODO