Implement a simple flight simulator

Assignment Help Computer Graphics
Reference no: EM132258052

To complete the second Machine Problem, you will implement a simple flight simulator. Your "plane" will fly over the terrain you generate. You will also add the capability of applying fog to your terrain.

The airplane should automatically move forward at a fixed speed. The user will control the bank and tilt of the airplane through the arrow keys.

Pressing the left (right) arrow key will make the plane roll to its left (right). Pressing the up (down) arrow key will cause the airplane to pitch up (down). Pressing the + (-) key will increase (decrease) the airplane's speed

You will need to implement the following:

A quaternion based viewing system

The glMatrix library provides support for using quaternions. We would suggest using that library instead of creating your own quaternion class. Note if you are using the example code from this course, that code uses an older version of the glMatrix library. The library downloaded from the course website may not include all of the functions documented in the current API. It is suggested that you download the current glMatrix library from the web and work with that version.

A working and documented user interface

You should implement a user interface that minimally implements the arrow-key and +/- key controls described above. You can add additional controls to affect yaw if you wish.

Phong shading

You should perform per-pixel shading and compute colors using either the Phong or Blinn- Phong reflection model in the fragment shader.

A cloud of fog, placed over and around your terrain

The fog computation should be done per-pixel, which means implemented in the fragment shader. Implement a control on the webpage (e.g. a checkbox) which allows the user to turn the fog on and o" in the scene. More details about how to simulate fog will be provided in lecture.

Reference no: EM132258052

Questions Cloud

Define and explain the type of crime committed : The victim turns to a voluntary organization dealing with rape victims. The organization has assigned you the task of providing her with the available options.
Describe how the decisions managers : Describe how the decisions managers make differ based on the level of the position such as supervisor, mid-level manager and senior manager.
What investment strategies will you use : What investment strategies will you use to improve your financial situation? Explain why you chose each strategy instead of others that you did not choose.
Acronym for goal setting is smart : A commonly used acronym for goal setting is SMART. Goals must be specific, measurable, achievable, realistic and time-bound.
Implement a simple flight simulator : CS 418 Interactive Computer Graphics - University of Illinois - Implement a simple flight simulator. Your "plane" will fly over the terrain you generate
Key characteristic of an effective manager : A key characteristic of an effective manager is good interpersonal skills. Among the interpersonal skills that must be built are: motivation, communication
How personalities define the brand and target : To explore the business model of personality/celebrity and how personalities define their brand, target their customers and maintain customer loyalty.
Employer-employee relationship : For recruitment, staffing and employment; In the employer-employee relationship when might the employee have maximum power over the employer?
High-performance organizations : What core values might be found in high-performance organizations? What core values might be found in high-performance organizations?

Reviews

len2258052

3/16/2019 1:44:00 AM

The assignment will be graded based on the following: Feature Points Working and documented user interface 1 Forward motion 1 Ability to roll 1 Ability to pitch 1 Ability to change speed 1 Fog 1 TOTAL 6

len2258052

3/16/2019 1:43:53 AM

You will need to submit the following files in a zip archive via Compass: Any .js files you create to implement the app. You can use as many as you wish to implement the app using good software engineering practices. Use any naming scheme you wish. webgl-utils.js if you use it gl-matrix-min.js where this is whichever version of the glMatrix library you used. Name your submission as NETID_MP2.zip and submit it to Compass, where NETID is your netid.

Write a Review

Computer Graphics Questions & Answers

  What types of documents are poor matches for templates

Identify a few web sites that appear to be designed using either a template or style sheet.

  Describe the usefulness of animation and graphics

Describe the usefulness of animation and graphics

  Choose one of the organisations and examine their

choose one of the organisations and examine their commercial practices in light of ethical behavioural theory you have

  Describe computer controlled enemies and how they function

Computer control (simple AI) of the enemies. The enemies should be abundant enough to challenge the player but not be impossible to beat. (GUI, Functionality), Random placement of items to collect and/or obstacles to pass through or over - this w..

  Write a gui-based program that analyzes a round of golf

Write a GUI-Based program that analyzes a round of golf. You will retrieve the data for 18 holes from a text file. On each line in the file will be par for that hole (3, 4, or 5) and your score for that hole. Your program should read the file and ..

  Redraw the circle

In the first round, the circle should stay visible for 1 second and each subsequent round the visible time should be 25% shorter than the previous round

  1 identify the 5 elements of strategy for home depot2 do a

1. identify the 5 elements of strategy for home depot.2. do a swot analysis for home depot and provide recommendations

  Determine when would a transition be appropriate

Some animation schemes include slide transitions and some do not. Determine when would a transition be appropriate? When would it not be appropriate?

  What is the purpose of vendor account groups?

What is the purpose of Vendor Account Groups?

  Research a nonprofit organization that has faced a public

research a nonprofit organization that has faced a public relations crisis within the past few years.imagine that you

  Relative positioning and interactive positioning

Relative Positioning and Interactive Positioning by Dragging and Clicking and some Simple Animation

  Choose an industry in which two or more companies has

choose an industry in which two or more companies has historically competed to maintain a significant share of the

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