Question: Generate a graphics scene made with OpenGL based on the video game Super Mario Bros. Create a 2D graphics scene based on the video game

Generate a graphics scene made with OpenGL based on the video game Super Mario Bros.

Create a 2D graphics scene based on the video game Super Mario Bros. You are not going to create a game, you are going to create a 2D computer graphics scene displayed in a window. The scene should include colours, the background, the character Mario, objects, etc.

Use either C or C++ language to code your scene. Document the code as much as possible describing each OpenGL function. You must write your name in your code as a comment. Your code must be original.

This is a screenshot from the game. You can use it as a baseline:

https://en.wikipedia.org/wiki/Super_Mario_Bros.#/media/File:NES_Super_Mario_Bros.png

so, your scene should look similar to that screenshot.

Your scene doesn't need to be interactive, but if you add interaction (e.g. moving the character with the keyboard keys) I will give you extra points.

You can use any modern version of OpenGL. You can use any OpenGL library such as FreeGLUT. This website include links for installing and using FreeGLUT:

http://freeglut.sourceforge.net/

Heres another tutorial on how to install GLUT (another library). It should also work for installing FreeGLUT on Windows10 and using Visual Studio 2017:

https://www.absingh.com/opengl/

Note: GLUT and FreeGLUT are different libraries that do the same, that is, display OpenGL graphics.

Heres another tutorial that explains how to install and use another OpenGL library called GLFW:

https://learnopengl.com/Getting-started/Creating-a-window

This is the official GLFW library website: https://www.glfw.org/

Try those OpenGL libraries and see which one suits you. We will be using FreeGLUT library in this course.

Here are some tutorials on OpenGL:

http://www.opengl-tutorial.org/beginners-tutorials/

https://learnopengl.com/

Explain in your own words how your graphics scene will processed by the graphics rendering pipeline and how your OpenGL code works. Add at least 4 references. Write at least one full page. Add a diagram(s). Do not copy and paste (plagiarize) text from the Internet or from any source. If you do it I will mark your assignment as zero (0).

Here are overviews of the rendering pipeline:

https://www.khronos.org/opengl/wiki/Rendering_Pipeline_Overview

http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Chapter-1:-The-Graphics-Pipeline.html

Write a report about your graphics rendering pipeline description.

Rubrics:

2%: Code defining the window creation.

5%: Implementation of OpenGL functions describing vertices, lines, points, polygons, translation and colours. You must briefly describe (comment) each OpenGL function from your code. Describe at least their purpose.

6%: Your explanation (report) on how your code will be processed in the graphics rendering pipeline.

Total: 13%

Submit both your C/C++ code and your report in a zip file to the LMS. Dont forget to write your name in your report and in the code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!