[SOLVED] Computer Graphics OpenGL Assignment 5

30.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

# Questions –

Assignment 5: Curve Drawing

Q1.) Write a program to draw a circle centred at (-30, 40) with radius 50 points. Observe the difference in the following cases :

(i) one pixel is one point, and

(ii) a block of 4×4 pixels is a single point.

Q2.) Write a program to draw an ellipse.

Q3.) Use the midpoint method and symmetry consideration to scan convert the parabola y = 100 –r2 over the interval −10 ≤ r ≤ 10.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.