CSCI 4229 Final Project Dan Richelson This project is built on WebGL, so there is no MakeFile. This page: http://www.danrichelson.com/4229/final/index.html contains the exact same contents of this submission. To run the program locally, make sure you have Chrome >=15 To view from the local files, you will need to start chrome with a special flag: On Mac OS X: open /Applications/Google\ Chrome.app --args --allow-file-access-from-files On Linux: chrome --allow-file-access-from-files The source code consists of the index.html file which is minimal. the final.js and ui.js files in the js directory contains nearly all the code that creates the scene. Additionally, there are some libraries included: dat.gui for some controls, and O3D which manages the scene Controls: (not case sensitive) X - trigger an explosion Q - raise camera elevation A - lower camera elevation mouse click - toggle camera rotation mouse scroll wheel - zoom in and out Also, there are controls for the constant smoke and flame particle emitters click the open controls tab on the top right of the page. Note: not all combinations of particle system settings will result in cool stuff! Refresh the page to start over. Some notes on implementation: This is a demo of a few different WebGL features and tools. The scene is built using the O3D framework (originally built for the Google O3D browser plugin, but most of the library has been ported to WebGL). This implementation of O3D (except for shaders) is written entirely in JavaScript. The program is generating textures and objects in two different ways: 1. The ground plane and sky planes are basic O3D primitives with textures loaded using javascript. 2. The 'man' figure was built in Blender, then exported to Collada format (an xml representation), then tweaked bit (lighting, scaling), then converted to JSON using an O3D tool. The particle system consists of a few things: (one particle emitter for each item) 1. The constant flame on top of the head of the 'man'. 2. The smoke coming from the top of the head. 3. The sparks coming up from the base of the man. 4. The explosions that are triggered when the X key is pressed. Also, notice that all the particles are affected by the same wind speed and direction.