Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

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

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M91971296
  • Price:- $120

Guranteed 48 Hours Delivery, In Price:- $120

Have any Question?


Related Questions in C/C++

What are the legal requirements with which websites must

What are the legal requirements with which websites must comply in order to meet the needs of persons with disabilities? Why is maximizing accessibility important to everyone?

Why do researcher drop the ewaste and where does it end

Why do researcher drop the ewaste and where does it end up?

Project - space race part a console Project - Space Race Part A: Console Implementation

Project - Space Race Part A: Console Implementation INTRODUCTION This assignment aims to give you a real problem-solving experience, similar to what you might encounter in the workplace. You have been hired to complete a ...

1 implement the binary search tree bst in c using the node

1. Implement the Binary Search Tree (BST) in C++, using the Node class template provided below. Please read the provided helper methods in class BST, especially for deleteValue(), make sure you get a fully understanding ...

Assign ment - genetic algorithmin this assignment you will

ASSIGN MENT - GENETIC ALGORITHM In this assignment, you will use your C programming skills to build a simple Genetic Algorithm. DESCRIPTION OF THE PROGRAM - CORE REQUIREMENTS - REQ1: Command-line arguments The user of yo ...

There are several ways to calculate the pulse width of a

There are several ways to calculate the pulse width of a digital input signal. One method is to directly read the input pin and another method (more efficient) is to use a timer and pin change interrupt. Function startTi ...

Assignment word matchingwhats a six-letter word that has an

Assignment: Word Matching What's a six-letter word that has an e as its first, third, and fifth letter? Can you find an anagram of pine grave. Or how about a word that starts and ends with ant (other than ant itself, of ...

Software development fundamentals assignment 1 -details amp

Software Development Fundamentals Assignment 1 - Details & Problems - In this assignment, you are required to answer the short questions, identify error in the code, give output of the code and develop three C# Console P ...

Question 1find the minimum and maximum of a list of numbers

Question: 1. Find the Minimum and Maximum of a List of Numbers: 10 points File: find_min_max.cpp Write a program that reads some number of integers from the user and finds the minimum and maximum numbers in this list. Th ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As