CS 420 Computer Graphics
Lab 17
Dr. Tong Yu, Fall 2004
Fog
Login and open two windows, one for editing and one for compiling
and executing programs. ( Tips of working like a computer scientist or
engineer: Try to reduce the browser size so that it won't occupy the whole
screen and you can observe a few things on the screen at the same time. )
Copy the program fog.cpp from the lecture notes.
Compile and execute it. Press 'f' to see different modes of operations.
Modify the program in the following mannes. Make observations for
every single change of your parameters.
- Use different fog colors.
- Adjust the fog density.
- Adjust the distances of the spheres.
- Adjust the start and end parameters.