diff options
author | alon@honor <none@none> | 2010-09-26 16:32:49 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-26 16:32:49 -0700 |
commit | f01feb071941d8bb83a9c1ca629d531a1d0ba627 (patch) | |
tree | a6b7c69b74e31be403fab589ee86ae3c4f98bf89 | |
parent | 7ffcdba83938c3bada5c76165f6c1216e3e9083f (diff) |
minor touches on raytrace demo
-rw-r--r-- | demos/raytrace.html | 3 | ||||
-rw-r--r-- | demos/raytrace.js | 13 |
2 files changed, 11 insertions, 5 deletions
diff --git a/demos/raytrace.html b/demos/raytrace.html index 5d03b7fa..0996e268 100644 --- a/demos/raytrace.html +++ b/demos/raytrace.html @@ -33,6 +33,9 @@ <canvas id='canvas' width=128 height=128></canvas> <hr> <div id="output" style="font-family: Courier New,Courier,monospace;">Generating scene data, please wait...</div> + <hr> + Simple raytracing demo. The <a href="http://ompf.org/ray/sphereflake/">original C++ source</a> was + automatically converted to JavaScript using <a href="http://emscripten.org">Emscripten</a>. </body> </html> diff --git a/demos/raytrace.js b/demos/raytrace.js index ebc375d0..4460abaf 100644 --- a/demos/raytrace.js +++ b/demos/raytrace.js @@ -1,8 +1,11 @@ -arguments = ['3'] // 6! - -//==================== -// Auto-generated code -//==================== +arguments = ['5'] // 6! + +//==================================================================================== +// Auto-generated code. Original source + changes are +// sphere flake bvh raytracer (c) 2005, thierry berger-perrin <tbptbp@gmail.com> +// (c) 2010, azakai (Emscripten) +// this code is released under the GNU Public License. +//==================================================================================== // === Auto-generated preamble library stuff === |