Question: in this method pleas: // Exercise #3: Draw an opjectand color each vertix with different color void drawop(void) { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_TRIANGLES); glEnd(); glFlush();} in this

in this method pleas: // Exercise #3: Draw an opjectand color each vertix with different color void drawop(void) { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_TRIANGLES); glEnd(); glFlush();}

in this method pleas:
// Exercise #4: Draw two object with different colors and when is transperent. void displayMe(void) { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_TRIANGLES); glEnd(); glBegin(GL_TRIANGLES); glEnd(); glFlush(); }Exercise 3: Point Draw one object with any shape and color it with different color in each vertex. Lab2 Output Exercise 4: Point Draw two objects with any shape. different colors and one is transparent. Lab2 Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
