Course Links

Resources

External

The goal of this homework is to put together several important concepts in 3D graphics:

Credit for this assignment: Joe O'Rourke

Instructions

Write a WebGL program that will display an animated, lighted solar system, which consists of (bronze goal) the following components:

The viewpoint (at least initially; see below) should be from above and to one side, so that the orbits appear as ovals at some distance. (See minimal example below.)

For silver, add either additional planets, or additional moons, so that some body has at least three objects orbiting at different speeds.

The orbital paths should be either circular or elliptic, and each object should move independently at its own speed. There is no starter code for this assignment. You may wish to begin with your solution to Lab 9 for the spheres.

Viewing Requirements

Hierarchical Modeling Requirements

Lighting requirements:

Notes

Gold Standard

For a gold solution and full credit on the assignment, select at least one of the extensions below:

Extra credit is possible for work that truly stands out in one or more ways for visuals and design.

Pair Programming

For this assignment, you are welcome to use pair programming . Include a comment at the top of your code with the names of you and your partner. Both should write their own reflection on the assignment. Only one partner should submit the work.

Submit

Submit your html file and a representative screenshot of your world (if you worked in a pair, only one person needs to submit). If you use textures on your planets (not required) you should also submit any texture files necessary to view the scene.