This assignment consists of three programming exercises that aim to develop your skills in 2D graphics using OpenGL®. Be sure to complete Units 1-3 before beginning Program 1 of this TME, and complete Units 4 and 5 before beginning Programs 2 and 3, respectively. Please contact your tutor to discuss any concerns you have with the units.
Program 1: Anti-aliasing
By this time, you should have completed the first three units of the course. Please contact your tutor to discuss any concerns you have with the units.
Your program should produce the following output. Notice that each “house” is a combination of one triangle and one rectangle. You can use either GL_LINE_LOOP or GL_POLYGON to render the triangles and the rectangles. If you use GL_POLYGON, you will need to set the polygon mode to GL_LINE. Set the default colour to black in your initial routine in both approaches.
The program must have one routine to render each house. Carefully compare the upper and the lower house. The lower house is drawn using the anti-aliasing technique discussed in Unit 3.
PART 2
By this time, you should have completed the first four units of the course. Please contact your tutor to discuss any concerns you have with the units.
The program should produce the following output. You can reuse code from Program 1 to reproduce these houses. The program must have one routine to render each house. You must then transform (translate and rotate) the image to the desired orientation before calling the routine to render the next house. Hard-coding the coordinates of the five houses is NOT acceptable.
PART 3
By this time, you should have completed the first five units of the course. Please contact your tutor to discuss any concerns you have with the units.
Your program should produce the following output. Each of the four vertices should be set to red, green, blue, and yellow, respectively.
Do you want your assignment written by the best essay experts? Then look no further. Our team of experienced writers are on standby to deliver to you a quality written paper as per your specified instructions. Order Now, and enjoy an amazing discount!!
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more