HW 09

Press [-/+] to shift mass ratio between red and blue suns.
Use the arrow keys to prod the white satellite around.
Press [f] to smoothly toggle the invisible floor.
Press [s] to speed up fps (slightly) by only trying to paint tirangles facing the camera (visible artifacts).
Press [c] to cubify things.
Press [m] for marshmallows.
Press [g] for globes again.
Press [PGUP|PGDN] to move camera in and out.
Press [ < > ] to tilt the camera
Press [ R r ] to increase and decrease globe resolution (refresh globes by pressing [g] ).

View Source
Zipped folder containing all source code

Back to Graphics