Computer Graphics- Homework 5
Due : Tuesday December 6, 2005
Modify the opengl program from Homework 4 to use the data files included
below as a texture map to make a realistic model of the earth and moon.
The motion and lighting options should be the same as in Homework 4.
Be careful to ensure that hidden surface removal works correctly.
Additional Credit
- In addition, to the views in Homework 3 and 4,
implement a third view selected by typing 'G' or 'g', which is a geo-synchronous
position (that is over a fixed position on the earth's surface) twice the distance from the earth as the
moon is. Note that a geosynchronous viewpoint will rotate with the earth.
- Render the Sun in as realistic way as possible when lighting is enabled. Explain what you have done?
Submission
The source files and a makefile to make the program on neptune or poseidon should be mailed as a tar file as
decribed on the homework submission page.
Warning
This homework is intended as an individual project. You are not permitted
to work jointly on it with others.
Additional note:
For lighting to work correctly, there must be interaction between the material
properties and the texture map. Be careful to choose the right option, when
applying the texture maps.
Also unlike homework 4, the material properties of the earth and moon should
be for white spheres, in order to not change the colors in the texture map.
Paul Farrell