• Home
  • Blog
  • CS 330 Southern New Hampshire University Visual Studio Export Tutorial Project

CS 330 Southern New Hampshire University Visual Studio Export Tutorial Project

0 comments

open a new Visual Studio project that has all the libraries set up correctly (which you learned how to do in the previous module). The goal of this assignment is to write commented modern OpenGL code that creates two right-angle triangles.

Two right triangles built using OpenGL. The triangle on the left has its right angle on its lower-left corner. That vertex is colored blue, the one above it is colored red, and the one to the right is colored green. The second triangle shares the green vertex of the first triangle. Its right angle is at its upper-right, with the third and final vertex below it. The right angle of the second triangle is colored red and the third vertex is colored green. Overall, the two triangles create an object that looks similar to an angled bowtie.

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.
  • The goal of this assignment is to write commented modern OpenGL code that creates two right-angle triangles that are colored and share a point.Using ONLY the OpenGL libraries: GLAD, GLEW, GLFW, glm. This needs to be written in C++ code in Visual Studio. The triangles should look like the following:

Guidelines for Submission

Submit a completed ZIP folder with all of your code, which may include one or multiple CPP files along with Visual Studio project files. Also make sure the ZIP folder includes an EXE file, because without this your code will not be able to run. Checking for the EXE can be used as a quick reference on the functionality of your code before you submit. Reference the Visual Studio Export Tutorial, linked in this week’s resources, for guidance on how to download the necessary ZIP folder.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}