QUESTION (20 MARKS)
a) Discuss how incremental line drawing algorithms work. (10 Marks) b) The following is an OpenGl code, can you draw the output that will be displayed on the computer screen. (10 Marks)
Main(){ InitialilzeAWindowPlease(); glClearColor (0.0,0.0,0.0,0.0); glClear (GL_COLOR_BUFFER_BIT); glColor3f(1.0,1.0,1.0); glOrtho(0.0,1.0,0.0,1.0,-1.0,1.0); glBegin(GL_POLYGON); glVertex3f(0.25,0.25,0.0); glVertex3f(0.75,0.25,0.0); glVertex3f(0.75,0.75,0.0); glVertex3f(0.25,0.75,0.0); glEnd(); glFlush();
Update TheWindowAndCheckForEvents(); }
QUESTION
(20 MARKS)
a) Discuss the advantages and disadvantages of liquid crystal display. (8 Marks) b) Differentiate between the following three classes of transformations. (12 Marks) i. Rigid body ii. Conformal iii. Affine
For a custom-written paper on the above topic, place your order now!
What We Offer
• On-time delivery guarantee
• PhD-level professionals
• Automatic plagiarism check
• 100% money-back guarantee
• 100% Privacy and Confidentiality
• High Quality custom-written papers