https://github.com/SNHU-CS/CS-330/tree/master/module06OverviewIn this course, many assignments are paired with tutorials to help you to learn OpenGL and build the computer graphics skills that you...

1 answer below »
https://github.com/SNHU-CS/CS-330/tree/master/module06

Overview




In this course, many assignments are paired with tutorials to help

you to learn OpenGL and build the computer graphics skills that you will

need to successfully complete your coding and design work.




In this assignment, you will create commented code for lighting a 3D scene with a pyramid in modern OpenGL.




If you encounter any challenges while completing this assignment, be

sure to post your questions or issues to the General Questions

discussion. It is essential to ask for help when you need it and

successfully complete each activity, as the course will continue to

build on earlier learning as your skills progress.




Prompt




Before you begin, be sure to review the module resources for this

week’s topics. Then, if you have not done so already, navigate to the
CS 330 folder


in GitHub. From there, download the ZIP file containing all of the

items within this folder, including assignment tutorials for Module Two

through Module Six. There are two essential parts to these tutorials:

the markdown (MD) files that walk you through how to work with different

OpenGL capabilities, and the solution (SLN) file that contains all the

code for each section of the tutorials. On your own machine, open the

solution (SLN) file in Visual Studio and navigate to the Module Six

tutorial sections in the Solution Explorer. While you may open the

markdown (MD) file using an external text-based program, we recommend

you instead follow along with the
Module Six Tutorial


in GitHub so it is easier to review the different sections, code, and

supporting images. Going through all the sections in the tutorial and

attempting the embedded exercises will help you practice the skills you

will need to demonstrate in this assignment.




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 light a 3D scene with a pyramid. You may begin by using the

textured pyramid you created in the Module Five assignment as a base to

which you can add light.




Create two lights and place them at different angles relative to your

completed pyramid. Give the key light an intensity of 100% and the fill

light an intensity of 10%. Then, apply a greenish color to the key

light.





Image shows a textured pyramid in a black background.  Key light represented by red rays and Fill light represented by green rays are pointing towards the pyramid.




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.




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.

Answered 1 days AfterNov 29, 2022

Answer To: https://github.com/SNHU-CS/CS-330/tree/master/module06OverviewIn this course, many assignments are...

Aditi answered on Dec 01 2022
54 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here