Technical skills on opengl programming

Assignment Help C/C++ Programming
Reference no: EM131215313 , Length: 5

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 <Z> and <z> 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 <X> or <x> and <Y> or <y> 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 <A> or <a> shall invoke some kind of pre-defined animation. You are encouraged to develop reasonable animation according to your scene design.

5. Pressing the key <F> or <f> shall make the whole animation faster.

6. Pressing the key <S> or <s> shall make the whole animation slower.

7. Pressing the key <T> or <t> shall pause animation. Pressing the key <C> or <c> shall resume the animation process.

8. Pressing the key <p> shall switch the rendering to the flat shaded polygonization.

9. Pressing the key <P> 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

Reference no: EM131215313

Questions Cloud

Find the joint pmf of m and n : Let be a random variable that follows a Poisson distribution,- Find the joint PMF of M and N. - Find the marginal PMF.
Analyze impact that characteristics of situational approach : Analyze how your questionnaire responses indicate your personal leadership philosophy. Describe any questionnaire results that may have surprised you. Analyze the impact that the characteristics of the Situational Approach to Leadership might have..
Calculate the minimum price per trailer : ACC00724 Accounting for Managers Assignment. ABC Ltd makes trailers. It receives a special order to produce 350 trailers for a local retail outlet. Calculate the cost of the special order if ABC Ltd uses machine time as the basis for allocating overh..
Explain the factors that are used in npv and the fv formulas : Describe the factors that are used in the NPV and the FV formulas. Give an example of how to use the formulas for NPV and FV for a stock purchase. Summarize the differences between the two formulas and the purpose of using each.
Technical skills on opengl programming : CG 200 Computer Graphics - "Under the Sea" using OpenGL - 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 ..
Roman catholic church obscure the bible : 1) According to Luther, what role should the Bibel play in a Christian's life? In his view, how does the Roman Catholic Church obscure the bIble's meaning and message?
Write the form of the joint pdf : A pair of random variables,(X,Y), is equally likely to fall anywhere in the ellipse described by 9X2 + 4 Y2 36.- Write the form of the joint PDF, fX,Y(x, y).
Find how much money will tom and tricia have : How much money will Tom and Tricia have in 45 years if they put $2400 per year away for each of the next 45 years?
Providing examples of how some facet : For this assignment, you will write a 2-3-page essay (double-spaced, 1-inch margins) providing examples of how some facet of "process philosophy" has impacted American government and/or society. You may focus on just 1 example, or you may discuss ..

Reviews

len1215313

9/21/2016 6:44:25 AM

Display of Key Functions: Display in the window or Print in the Terminal Ability to change the program as requested Quality and reasonable setting of objects Complexity of the animation Texture on the objects Other effects such as transparency, foggy etc. General quality of the report Describe and justify the choice of algorithms Properly documented code Clearly quote the external references and resources

len1215313

9/21/2016 6:43:55 AM

Modeling of the environment - 3 simple objects - 3 composite objects 2 light sources 3 different surface finishing Correct Zoom in/out effect by Level-of-details implementation Correct rotation of the whole scene by X/Y keys Reasonable and smooth animation by pressing Correct functioning of the remaining 4 keys (F, S, T, P) (0.5 mark each)

Write a Review

C/C++ Programming Questions & Answers

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a c program that calculate the gross pay of employee

Write a C program that will calculate the gross pay of a set of employees. For each employee the program should prompt the user to enter the clock number, wage rate, and number of hours as shown below.

  Time conversion

Write a C++ program that takes an Eastern standard time in hours, minutes, and seconds,and prints it out in Central time, Mountain time, or Pacific time.

  Amanda and tyler opened a business

Amanda and Tyler opened a business that specializes in shipping liquids, such as milk, juice, and water, in cylinderical containers. The shipping charges depend on the amount of liquid in the container. (For simplicity, you may assume that the con..

  Explain the steps for building a rudimentary management

Explain the steps for building a rudimentary management system.

  Visitor bureau of las vegas

Past surveys reveal that 30% of tourists going to Las Vegas to gamble spend more than $1,000. The Visitor's Bureau of Las Vegas wants to update this percentage.

  Fill up the tables

Fill up the tables and show ALL the steps required to solve each problem below. You must convert the entire IP address to binary.

  Write a program that uses joptionpanes to perform

For example, if the distance of travel is 30 kilometers, the time of travel is 2 hours, then the speed is 30/2 = 15 (kilometers per hour).

  We wish to process survey results

Suppose we wish to process survey results that are stored in a file. This exercise requires twoseparate programs. First, create a program that prompts the user for survey responses and outputseach response to a file

  Where is the error in this code sequence?

Where is the error in this code sequence?Explain what the problems are and how to fix them.

  Please correct the errors with replacement lines

Please correct the errors with replacement lines beside it. And then give short notes on why it is wrong.

  How does a sequential file work

How does a sequential file work? Provide an example. Provide C++ code that opens, reads, and then closes a sequential file

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd