####Zhou Bowei ####2015.12.30
cd path-to-this-folder/
then (python2):
python -m SimpleHTTPServer
or (python3):
python -m http.server --cgi
Open 127.0.0.1:8000 in your browser.
You can also run it online.
- Choose a model from the listed models. Then click the "RUN" button.
- Adjust the orientationl.
- Open the "RAY TRACING" panel. Adjust the parameters.
- Click the "RUN" button, and have a cup of tea🍵
- Advantages:
- Only using JavaScript, means that you can run it on every platforms, including iOS & Android.
- Area light
- Depth of field
- Disadvantages
- No global illumination
- No refraction or reflection (Mar.2018 added)
- No smooth surface
- Inefficient (because JavaScript doesn't have mechanism of multi-thread and could not use GPU)