THE AUSTRALIAN NATIONAL UNIVERSITY Final Examinations(Semester 2) COMP4610/COMP6461 (Computer Graphics) Final Exam

Similar documents
THE AUSTRALIAN NATIONAL UNIVERSITY Final Examinations (Semester 2) COMP4610/COMP6461 (Computer Graphics) Final Exam

Module Contact: Dr Stephen Laycock, CMP Copyright of the University of East Anglia Version 1

Spring 2012 Final. CS184 - Foundations of Computer Graphics. University of California at Berkeley

CS 130 Final. Fall 2015

Sample Examination. Software Construction (COMP2200/COMP2500/COMP6442)

The University of Calgary

2015 Semester 1 - Final Examination Paper B. Software Construction (COMP2100/COMP2500/COMP6442)

Course Title: Computer Graphics Course no: CSC209

CS 464 Review. Review of Computer Graphics for Final Exam

Mach band effect. The Mach band effect increases the visual unpleasant representation of curved surface using flat shading.

CS 130 Exam I. Fall 2015

CS 4620 Midterm, March 21, 2017

Graphics for VEs. Ruth Aylett

Graphics for VEs. Ruth Aylett

Topics and things to know about them:

CHAPTER 1 Graphics Systems and Models 3

Pipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside

CS 381 Computer Graphics, Fall 2008 Midterm Exam Solutions. The Midterm Exam was given in class on Thursday, October 23, 2008.

Pipeline Operations. CS 4620 Lecture 14

Pipeline Operations. CS 4620 Lecture 10

Interpolation using scanline algorithm

Ray Tracer Due date: April 27, 2011

CSE 167: Lecture #8: Lighting. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL

CSE Intro to Computer Graphics. ANSWER KEY: Midterm Examination. November 18, Instructor: Sam Buss, UC San Diego

CS 130 Exam I. Fall 2015

Computer Graphics I Lecture 11

Surface Graphics. 200 polys 1,000 polys 15,000 polys. an empty foot. - a mesh of spline patches:

CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2014

[175 points] The purpose of this assignment is to give you practice with shaders in OpenGL.

Institutionen för systemteknik

Homework #2. Shading, Ray Tracing, and Texture Mapping

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK

The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced or risk not having it accepted.

Ray Tracing Part 1. CSC418/2504 Introduction to Computer Graphics. TA: Muhammed Anwar & Kevin Gibson

Blue colour text questions Black colour text sample answers Red colour text further explanation or references for the sample answers

lecture 18 - ray tracing - environment mapping - refraction

CS 4620 Program 3: Pipeline

Lets assume each object has a defined colour. Hence our illumination model is looks unrealistic.

3D Rasterization II COS 426

Computer Graphics. Shadows

CEng 477 Introduction to Computer Graphics Fall 2007

6.837 Introduction to Computer Graphics Final Exam Tuesday, December 20, :05-12pm Two hand-written sheet of notes (4 pages) allowed 1 SSD [ /17]

Advanced Lighting Techniques Due: Monday November 2 at 10pm

The Rendering Pipeline (1)

ECS 175 COMPUTER GRAPHICS. Ken Joy.! Winter 2014

Illumination and Shading

COMP environment mapping Mar. 12, r = 2n(n v) v

CSE 167: Introduction to Computer Graphics Lecture #7: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Spring Quarter 2015


TDA362/DIT223 Computer Graphics EXAM (Same exam for both CTH- and GU students)

Illumination and Shading

CPSC / Texture Mapping

CS559 Computer Graphics Fall 2015

OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS

Deferred Rendering Due: Wednesday November 15 at 10pm

Introduction to Visualization and Computer Graphics

6.837 Introduction to Computer Graphics Assignment 5: OpenGL and Solid Textures Due Wednesday October 22, 2003 at 11:59pm

Computer Graphics I. Midterm Examination. October 23, This is a closed-book exam; only one double-sided sheet of notes is permitted.

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models

Computer Graphics Coursework 1

Computer Graphics 10 - Shadows

Graphics and Interaction Surface rendering and shading

Lecture outline Graphics and Interaction Surface rendering and shading. Shading techniques. Introduction. Surface rendering and shading

CMSC427 Final Practice v2 Fall 2017

Orthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

CSE 690: GPGPU. Lecture 2: Understanding the Fabric - Intro to Graphics. Klaus Mueller Stony Brook University Computer Science Department

CS 354R: Computer Game Technology

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

Lecture 17: Shading in OpenGL. CITS3003 Graphics & Animation

Computer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL

Illumination and Shading

Models and Architectures

The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced or risk not having it accepted.

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

Ray Tracer I: Ray Casting Due date: 12:00pm December 3, 2001

Rendering Objects. Need to transform all geometry then

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

TDA361/DIT220 Computer Graphics, January 15 th 2016


Midterm Exam Fundamentals of Computer Graphics (COMP 557) Thurs. Feb. 19, 2015 Professor Michael Langer

Assignment 6: Ray Tracing

GLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner

Adaptive Point Cloud Rendering

EECE 478. Learning Objectives. Learning Objectives. Rasterization & Scenes. Rasterization. Compositing

Shading and Texturing Due: Friday, Feb 17 at 6:00pm

Outline. Introduction Surface of Revolution Hierarchical Modeling Blinn-Phong Shader Custom Shader(s)

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane

Computer Graphics Introduction. Taku Komura

9. [20 points] A degree three Bezier curve q(u) has the four control points p 0 = 0,0, p 1 = 2,0, p 2 = 0,2, and p 3 = 4,4.

EXAMINATIONS 2016 TRIMESTER 2

Illumination Models & Shading

Computer Graphics: Programming, Problem Solving, and Visual Communication

TSBK 07! Computer Graphics! Ingemar Ragnemalm, ISY

Ray Tracing. Kjetil Babington

Graphics Hardware and Display Devices

Transcription:

THE AUSTRALIAN NATIONAL UNIVERSITY Final Examinations(Semester 2) 2009 COMP4610/COMP6461 (Computer Graphics) Final Exam Writing Period: 3 hours duration Study Period: 15 minutes duration - you may read text files and pdfs but you are not permitted to start answering questions. Permitted Materials: none Note the standard lab tools are available including : Java, eclipse, ooffice, kate, dia, gcc,... Please Read The Following Instructions Carefully. This exam will be marked out of 100 and consists of 4 questions. Questions are of unequal value. The value of each question is shown in square brackets. Questions that are partitioned into parts show the number of marks given to each part within square brackets. Students should attempt all questions. Answers must be saved into the question's directory (Q1, Q2, Q3, Q4) using the file(s) described in the question statement. Marks may be lost for giving information that is irrelevant. Network traffic may be monitored for inappropriate communications between students, or attempts to gain access to the Internet. 1/5

Question 1 - Short Answer [40 marks] Highest marks are gained by providing: clear, concise, and short answers. Save your answers in the in the file 'Q1Answers.odt' in the directory Q1. This file can be edited using 'ooffice'. Please make certain that this file is saved both as you progress through the exam and before the exam ends. i. [4 marks] State how the screen co-ordinate of a pixel is mapped into a memory address in the frame buffer. ii. [4 marks] Why is it impossible to accurately display the CIE xy chromaticity diagram's colour on a RGB monitor? iii. [4 marks] Explain one approach for determining if a point is in the interior of a polygon or not (assume both the polygon and point are on the same plane). iv. [4 marks] Why are homogeneous coordinates so useful in Computer Graphics? Show the form of the translation matrix (assume 2D space). v. [4 marks] Provide an example of temporal aliasing. Give two approaches that could be used to help address this problem. vi. [4 marks] State two different approaches used for specifying a 3D rotation. Contrast some advantages/disadvantages of these approaches. vii. [4 marks] Explain how the 'reverse painters algorithm' works. What is the main advantage of this approach over the 'painters algorithm'. viii. [4 marks] How would the differences between flat, Gouraud, and Phong shading be visually evident within an image. ix. [4 marks] How are 'blobby objects' defined? What types of objects are they good at representing? x. [4 marks] Modern GPUs have programmable pixel shaders(also known as fragment shaders) as part of their rendering pipeline. What types of effects can be obtained from these programmable pixel shaders? 2/5

Question 2 Lab [15 marks] The Q2 directory contains the 'ScreenSaverOGL.java' and 'ScreenSaverOGL.c' files. These are a simple screen saver programs. Copy and rename one of these files for your answer file, call it SimplePoly.java (or SimplePoly.c). Save this in the Q2 directory. Create a simple polygon that rotates in 3D on it's y-axis. Duplicate this polygon 4 times so that the same polygon is rotating simultaneously in 4 different places on the screen. In doing this you should use either a method for drawing the shape which you call 4 times or a using a display list (i.e. glnewlist, glendlist, and glcalllist). This will also involve using glpushmatrix and glpopmatrix. Add a comment in your answer file which gives the commands used to compile and run your code, also in this comment add a very brief summary of what you did. 3/5

Question 3 Lab [15 marks] The Q3 directory contains the code files for the ray-tracing lab. Modify the 'raytrace' method in 'Scene.java' such that it's illumination model includes both diffuse and specular reflection. This may be from a single light source. You should adjust lighting parameters such that both the diffuse and specular effects are viewable. Make a note of the formula you used for your illumination model(place this note in a comment in Scene.java). The directory 'Q3/original' contains a copy of the original code. Do not modify this code. Only modify the code in the 'Q3' directory. The 'Q3/original' code is provided just in case you wish to see an unmodified version of the ray-tracer or if you need to recover this information. To run this code (once you have compiled the code) you may need to increase the amount of memory Java can use: java -Xmx200m RayTracer 4/5

Question 4 Lab [30 marks] Note part marks in these questions may be gained for: partial working solutions; or just a viable description of how you would approach such a problem. Please copy code as needed from either the Q2 and Q3 directories. Do only ONE of the following two options: A. The ray-tracer currently only renders spheres. Add to it the ability to render textured rectangles. These rectangles are in a plane that is perpendicular to the z axis, their left and right edges are parallel with the y- axis and their top and bottom edges are parallel with the x-axis. That is, if a corner vertex of the rectangle is at (x,y,z) and it has width w and height h then the rectangle would have the following vertices (x,y,z), (x+w,y,z), (x+w,y+h,z), and (x,y+h,z). The texture is available from a 'png' file and mapped to fill the entire rectangle. The lighting model on the surface of the rectangle may either: combine diffuse and specular effects with the colour determined by the texture; or just be determined purely from the colour of the texture. Included in this directory is the banner for the computer graphics subject (called banner.png). Add this banner to the juggler scene such that it moves towards and away from the viewer over the cycle of rendered frames. An example of one frame is given in the diagram to the right. The README file should contain a short summary of what you did. B. Using OpenGL create a 3D domino simulation. A domino is basically a thin box standing on its end. These are positioned next to each other such that the falling of the first domino hits the next and causes it to fall over. This continues causing all the dominoes to fall over. Create an animated sequence in which dominoes fall over. The simulation should include a line of dominoes that has a curve. It should also include a 'fan-out' (one domino hits two dominoes in a fall creating two lines of falling dominoes). Also include different colour dominoes. An example of an initial set up is shown in the diagram to the right. The README file should contain a short summary of what you did. 5/5