CS 480/680 Class Projects
PA3 - Moons
Objective: Now that we have a window open and an animation going,
with keyboard and mouse, we will be dealing with multiple objects.
You'll be taking your code from last week and adding a moon to the object
you have already.
For this project, students will be expected to render two cubes onto the screen. One of the cubes will move around in a circle while the other cube orbits around it. The program is expected to be designed in such a way that the user, through keyboard inputs, can change the direction of rotation of the first cube, while the second continuously orbits it.
- In addition to the planet orbiting and the moon orbiting the planet properly (no matter which direction it is going) you need to implement the planet direction changes with the keyboard arrows (in addition to the keyboard/mouse done last time).
- A Recommended tutorial on matricies (from previous students) can be found here
- Extra Credit:
- Scaling the moon
- changing the sped of the orbit (faster/slower/reset) and the rotation independently.
- Add text to your menu to indicate which direction the planet is rotating (and speed). This should change appropriately.
- Assigned: Week 3
- Due: Week 4
- A clone of your GitHub repository will be made at 6:00am on
the due date. Don't forget to push your code by that time.
This clone will be evaluated and your grade posted.