SNHU Building a 3D Pyramid Project

Don't use plagiarized sources. Get Your Custom Essay on
Need an answer from similar question? You have just landed to the most confidential, trustful essay writing service to order the paper from.
Just from $13/Page
Order Now

Once you understand the content in the tutorial, you will begin this assignment by opening a new Visual Studio project that has all the libraries set up correctly (which you learned how to do in a previous module). The goal of this assignment is to write commented modern OpenGL code to create a 3D pyramid.

3D pyramid built using OpenGL. None of the faces of the pyramid are solid, so they can all be seen through. Only the lines connecting each vertex are visible, along with one line bisecting the square base into two triangles. Each vertex is assigned its own color, which then turns to a gradient as it transitions to the color assigned to the next vertex.3D pyramid built using OpenGL. All faces of the pyramid are solid and cannot be seen through. Each vertex is assigned its own color, which then turns to a gradient as it transitions to the color assigned to the next vertex.

Your pyramid should use the indices and the Vertex Array Object, with each vertex on the pyramid being assigned a color of your choice. Employ the Model View Projection matrix to display the pyramid in a perspective angle.

Specifically, you must address the following rubric criteria:

  • Create code to address the required functionality. The work you complete in OpenGL must meet the required functionality and visual representation that are outlined for this particular topic. Achieving this result may require multiple attempts or the application of programming strategies, but that is okay! Working in iterations is an important part of any coding project. You may also wish to refer back to relevant sections of this week’s tutorial for further guidance or review.
  • Apply logic and proper syntax to code. Source code should be free of logical or syntax errors that prevent the application from running as expected. You will be given credit for code that is well on its way to meeting specifications or solving the problem.
  • Apply commenting and formatting standards to facilitate understanding of the code. All code should be well commented. This is a practiced art that requires clarity and concision. Your comments should explain the purpose of lines or sections of the code and may also include the method you used to achieve a specific task in the code. Be sure to document any sections of code that are producing errors or incorrect results. Also, all code should be organized to meet formatting standards.