Skip to content

b-z/ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Report of the 2nd Homework of CG Course

####Zhou Bowei ####2015.12.30


1. How can I run

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.

2. How can I use

  • 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🍵

3. Advantages & Disadvantages

  • 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)

4. Gallery

Old version:


Releases

No releases published

Packages

No packages published