Tutorial Exercise 4 CS3162 Introduction to Computer Graphics Helena Wong, 2001 1. Suppose you enter a room and stand at a position as shown in the diagram. You turn to your left hand side with 45 degrees. There is a triangular furniture in the room (as shown in the diagram). What are the world coordinates of the vertices of the furniture (assume using the door as the origin, and the North direction is the y-axis)? What are the coordinates of these vertices as being viewed by you (Viewing coordinates)? 10 4 door 2 8 4 12 2. What are the steps to perform a 3D rotation? 3. Using the CMY and HSV models, construct the following colors. Result Color Red White Black Yellow Pink Purple Cyan 0% CMY Model Magenta Yellow 100% 100% Hue 0° HSV Model Saturation 100% Value 100% In the cases using the CMY model, what is the effect if black is added (CMYK model)? 4. Suppose a graphics device has 2 intensity levels (0,1) for each r,g,b channel per pixel. Illustrate how to generate different intensity variations using this device?