Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

hi, can someone provide me an alternative method of this computer graphics assig

ID: 3665634 • Letter: H

Question

hi, can someone provide me an alternative method of this computer graphics assignment??? I'm not getting the right triangle image. And please dont paste from other websites...thank you... Iam trying to understand this topic.

thank you

Let's start using graphics engines to create scenes. Using Microsoft Visual Studio 2010, C++, and OpenGL, Write a program that does the following:

Creates a window that is 800x600

Sets the background color to black

Draws a triangle to the center of the screen

Sets each vertex of the triangle to the color red

Ensure that your code is commented

Explanation / Answer

You are required to install the following packages, depending on your operating system:

Microsoft Windows

We assume you have previous programming experience; Simply copy the code displayed below into a text editor.

Save the file as triangle.c

// int main() is the entry point of the program.

// First we initalize basic properties of our window, including the width, height and title.

//

*/

// Microsoft Visual Studio C++ users should create a Win32 Console project and link the program with

glut32.lib, glu32.lib, opengl32.lib