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

  Create a simple warm-up program using your g3d

Create a simple warm-up program using your G3D programming and graphics environment.

  Shadow effect while rolling a sphere

Shadow effect while rolling a sphere as well as the options of shading and lighting.

  Relative positioning and interactive positioning

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

  Draw a teapot at the global origin

Draw a teapot at the global origin

  Concepts of computer graphics

Concepts of Computer Graphics and develop a program using OpenGL

  The security policy document outline

Using the GDI Case Study below, complete the Security Policy Document Outline

  Develop the image manipulations

Develop the image manipulations

  What does resolution mean

What does resolution mean How is resolution connected to ppi and dpi units

  Differentiate between a bitmap image and a vector image

Differentiate between a bitmap image and a vector image Explain the following terms

  Essential elements of a design pattern

configuration of an Iterator pattern, patterns could be used in a Library System, Singleton, Template, Decorator, Façade,What does Alexander means by the following declaration "But it is impossible to form anything which has the temperament of natu..

  Framework of user interface design

design of user interfaces, natural mapping, GUI applications, web page design different to designing for printed media, risks exposed in this "phone as individual proxy" approach, interaction designers of ubicomp applications, Storyboards are usual..

  What are the factors affecting picture composition

Define picture composition What are the factors affecting picture composition. Elaborate on each factor Describe the basic lines present in a composition

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