COMP4033 Computer graphics
Assignment 2 (Phase I) – Robot and Light
(Due on 8:00am March 23rd Monday)
Assign2 is one of the key programming assignments in the course, allowing you to accomplish several components of your final project, i.e., your robot as the actor will go around into the virtual scene. Sample codes for moving a leg, drawing a sphere have already been provided in the updatedAssign0.zip. You are expected to reuse them and write your own program. You are also going to add a new light source which is moving together with your actor. In details, you need to fully implement the following tasks:
Spheres, cubes are expected to be used to draw your actor / robot. You may have your own preference for the shape of the robot. 20 extra bonus
marks will be given to detailed design of your robot,
therefore the highest grade is 120 in total.
You are also going to animate and move the robot, which will walk through the scene as illustrated in the video of the example project. Notice the robot is expected to exhibit the follow two motions.
1. The translation from west to east.
2. The animation of the legs and arms.
There should be a new point light source which moves together with the actor / robot. You will see the high light on the spheres formed by the light source will not change its position. You can chose new parameters
for shininess, specular, diffuse, ambient, to have a different light effect.
We don’t consider texture map in this phase. It will be covered in the second phase.
Submission:
When you have finished, please check
1. your revised .cpp, .h, .glsl files.
2. your executable file “Assign2p1.exe” (the name indicates it is the phase 1 of assignment
2).
3. your readme file which explains what you have done to the skeleton code of
undatedAssign0.zip.
Please compress all the above files into a file “xxxxxxxx.zip” (xxxxxxxx is your student number) and submit through iSpace before 8:00am March. 23 (Monday). No late submission will be accepted.