This document outlines 8 tasks for an assignment on computer graphics and visualization. It includes explaining 2D viewing functions in OpenGL, the Cohen-Sutherland line clipping algorithm with an example, applying Cohen-Sutherland line clipping to a given line, explaining the Sutherland-Hodgman polygon clipping algorithm and clipping a given polygon, explaining basic illumination models and Phong's lighting model, writing an OpenGL program to rotate a cube, explaining RGB and CMY color models with a transformation example, and explaining different OpenGL light source types.
This document outlines 8 tasks for an assignment on computer graphics and visualization. It includes explaining 2D viewing functions in OpenGL, the Cohen-Sutherland line clipping algorithm with an example, applying Cohen-Sutherland line clipping to a given line, explaining the Sutherland-Hodgman polygon clipping algorithm and clipping a given polygon, explaining basic illumination models and Phong's lighting model, writing an OpenGL program to rotate a cube, explaining RGB and CMY color models with a transformation example, and explaining different OpenGL light source types.
This document outlines 8 tasks for an assignment on computer graphics and visualization. It includes explaining 2D viewing functions in OpenGL, the Cohen-Sutherland line clipping algorithm with an example, applying Cohen-Sutherland line clipping to a given line, explaining the Sutherland-Hodgman polygon clipping algorithm and clipping a given polygon, explaining basic illumination models and Phong's lighting model, writing an OpenGL program to rotate a cube, explaining RGB and CMY color models with a transformation example, and explaining different OpenGL light source types.
2. What is Clipping? Explain Cohen-Sutherland Line Clipping algorithm, with suitable example. 3. Explain Cohen Sutherland line clipping. Clip the lines with coordinates (x0, y0) = (60, 20), (x1, y1) = (80, 120) given the window boundaries (xwmin, ywmin) = (50, 50) and (xwmax, ywmax) = (100, 100). 4. Explain Sutherland-Hodgman polygon clipping algorithm. Find the final clipping polygon for the following figure.
5. Explain Basic Illumination Model and explain Phong’s Lighting model.
6. Write an OpenGL program to rotate a cube in all directions. 7. Explain RGB and CMY color models with examples. Explain the transformation between CMY and RGB color spaces. 8. Explain the different types of light sources supported by OpenGL.