Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This needs to be written in Modern OpenGL in C++. GLUT/FREEGLUT can't be used. Pyramid needs to maintain a brick texture. The goal of this

This needs to be written in Modern OpenGL in C++. GLUT/FREEGLUT can't be used. Pyramid needs to maintain a brick texture.

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.

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 weeks 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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

1. Identify six different types of history.

Answered: 1 week ago

Question

2. Define the grand narrative.

Answered: 1 week ago

Question

4. Describe the role of narratives in constructing history.

Answered: 1 week ago