Cg 200 computer graphics - under the sea using opengl -


1. REQUIREMENTS

In this assignment, you can unleash your imaginations and use OpenGL with C/C++ programming to produce a scene(s) that represents what you envision could possibly be seen under the sea. Please note that an image with just the text "Under the Sea" or alike will not be accepted.

Unlike Assignment 1, Assignment 2 is focused on the technical skills on OpenGL programming. Artistic creativity is encouraged, but not required. Please spend most of your effort learning OpenGL itself.

Program Requirements:

1. At least 6 objects with different shapes should be present in the scene. At least 3 of these objects should be composite, i.e., not just a sphere or a cube which can be implemented by a simply GLUT function. At least 2 light sources and 3 different surface finishing should be used. Having these features and the key functions below will ensure a passing mark. Higher marks will depend on the technical complexity of the objects and the scene, as well as other effect such as texture, transparency, fog, etc. Aesthetic aspect will not contribute to the mark, although they are still encouraged.

2. Pressing the keys and shall invoke zooming in and zooming out effect with the increment of 0.1 respectively. The continuous levels-of-detail must be implemented, i.e., the smaller the object is, the fewer number of polygons/vertices is used and vice versa, to ensure the smooth looking of objects when looked closely.

3. Pressing the key or and or shall invoke steady rotation of the whole scene about the X axis and Y axis respectively in the clockwise direction as seen from the positive direction of the axis. Initially, there should be no rotation.

4. Pressing the key or shall invoke some kind of pre-defined animation. You are encouraged to develop reasonable animation according to your scene design.

5. Pressing the key or shall make the whole animation faster.

6. Pressing the key or shall make the whole animation slower.

7. Pressing the key or shall pause animation. Pressing the key or shall resume the animation process.

8. Pressing the key

shall switch the rendering to the flat shaded polygonization.

9. Pressing the key

shall switch the rendering to the smooth shaded polygonization.

10. The command keys should be displayed on the screen after you run the program. You are encouraged to display the command keys in the actual window you created.

The final version of your program must work on the lab workstations and be presented and assessed in the Lab. No technical support will be provided for your work on your own PC.

Only simple textures are required for this assignment. I have uploaded a very simple program called "BMP-loader.c" under "Other Resources" for your reference on how a simple texture mapping can be done. The program is in .txt format as "BMP-loader.txt" there to ensure that you can download it correctly. I downloaded the file from Nehe some time ago and it is a very simple and straight forward implementation of texture mapping.

There are plenty of OpenGL tools/codes available on the Web. You are encouraged to explore and learn from them (rather than simply copying them). Please ensure that clear reference is given if you do have to use some external codes and resources.

2. ASSESSMENT

This assignment is due on the 31st October 2016, Monday at 9:00am. You must zip the following items into a single file:

- The source files with the make file (if any);

- A simple readme.txt which briefly describes each source file and the way to compile and run your code(s);

- The assignment cover sheet (attached) filled, signed and scanned. By submitting the sheet, you declare that the work submitted are solely your own;

- A short report of up to 5 pages. In the report, you must list the program's features implemented and briefly explain the main algorithms you used for modelling, rendering and animation. Please provide specific description on YOUR own work, not just a list of what are required. Please describe what simple or composite objects have been used to model YOUR OWN objects, and what kind of surface finishing you have employed for each of them. If you use an external tool to create a complicated object or finishing, please provide brief description on the tool, your usage of the tool and your reflections on using the tool. You are also required to describe the animation you have produced by providing the design ideas and their implementations. Please give brief descriptions on YOUR OWN work.

What you discover on your own is always more exciting than what someone else discovers for you - it's like the difference between romantic love and an arranged marriage.

- Terrence Rafferty"

Attachment:- Assignment.rar

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Cg 200 computer graphics - under the sea using opengl -
Reference No:- TGS01599035

Expected delivery within 24 Hours

©TutorsGlobe All rights reserved 2022-2023.