CS32310 - Advanced Computer Graphics assignment
The assignment, worth 50% of the module, requires visualising a 3D animated solar system in WebGL.
cd assignment python -m SimpleHTTPServer
The program adds a
webgl_solarsystem__loaded class to the body to tell you when all the assets have finished loading. You can hook into this and add your own loading gifs, etc.
The loading gif I use in the example is taken from the BBC's iframe scaffold.
- download and install Node.js, and then Grunt
- cd into this directory
- Install the node modules (
- You can now run
gruntto run the automated processes.
Orbit distances taken from:
Orbit periods and rotation periods taken from:
Planet sizes taken from:
Planet axes taken from:
Jupiter's Galilean moons info taken from:
Saturn's rings info taken from:
Planet texture maps were taken from:
Lots of code taken from/inspired by various lessons at:
Phong shading very much taken from: