Question
ONLY USE MODERN OPENGL. FREEGLUT/GLUT ISN'T ACCEPTABLE FOR THIS ASSIGNMENT AND WILL BE DOWNVOTED. The goal of this assignment is to write commented modern OpenGL
ONLY USE MODERN OPENGL. FREEGLUT/GLUT ISN'T ACCEPTABLE FOR THIS ASSIGNMENT AND WILL BE DOWNVOTED.
The goal of this assignment is to write commented modern OpenGL code using C++ to apply texture to a 3D pyramid. All four sides of the pyramid, including the base, should have a brick texture applied. Reference the Sourcing Textures Tutorial, linked in this modules resources section, for additional support in finding a texture to use. We recommend selecting a square image to avoid stretching and to more easily work with the coordinates. Think about how you might lay out your coordinates on a square texture for both a triangle (the sides of the pyramid) and a square (the base of the pyramid) before you begin. An example of a finalized pyramid with a brick texture applied is shown below.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started