Test#3: Open-book
programming test.
1.
No collaboration with others online or not during the test.
2.
You can use your own code and/or adapt code from the book,
but you are not allowed to borrow code from the internet.
1. Examine the texture mapping in Plate 30 in the appendix
of OpenGL red book.
2. Add a keyboard toggle such that when the user presses the
key t the texture mapping done above is toggled on and off.
1.
Incorporate fog around the mountain of the bus scene to create an effect somewhat similar to Plate
31 in the appendix of
OpenGL red book.
2. Add a keyboard toggle such that when the user presses the
key f the foggy effect done above is toggled on
and off.
1.
Think about the sail of a windmill.
Incorporate at least 2 translucent/transparent rotating sails close
to the camera in the bus scene to create so that theuser
can partially see through the sails by using the blending techniques as you
have seen in in alpha.cpp.
2. Add a keyboard toggle such that when the user presses the
key b the blending effects of the sails done above
is toggled on and off.
·
1st submission: By the end of the
class, submit the source code file(s) and your test report
under Canvas to show what you are able to accomplish in 75 minutes.
·
2nd submission: By 11:50pm Saturday
05/09/2015, submit the final version of the source code file(s) and your test report under Canvas to show what you are able to accomplish in the end.