CMSC427 Final Practice v2 Fall 2017

Similar documents
Topics and things to know about them:

Homework #2. Shading, Projections, Texture Mapping, Ray Tracing, and Bezier Curves

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

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

CS 4620 Midterm, March 21, 2017

CSE528 Computer Graphics: Theory, Algorithms, and Applications

Introduction Ray tracing basics Advanced topics (shading) Advanced topics (geometry) Graphics 2010/2011, 4th quarter. Lecture 11: Ray tracing

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

CS 130 Final. Fall 2015

1 20 pts Graphics Pipeline short answer

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

Graphics for VEs. Ruth Aylett

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

Pipeline Operations. CS 4620 Lecture 10

Assignment 6: Ray Tracing

CHAPTER 1 Graphics Systems and Models 3

CS5620 Intro to Computer Graphics

Graphics Pipeline 2D Geometric Transformations

CS354 Computer Graphics Ray Tracing. Qixing Huang Januray 24th 2017

Computer Graphics. Lecture 14 Bump-mapping, Global Illumination (1)

Ray Tracer Due date: April 27, 2011

The University of Calgary

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

Computer Science 426 Midterm 3/11/04, 1:30PM-2:50PM

CS 4620 Program 3: Pipeline

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

CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK

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

Homework #2. Hidden Surfaces, Projections, Shading and Texture, Ray Tracing, and Parametric Curves

Graphics Hardware and Display Devices

End-Term Examination

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

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

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

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

Review. Stephen J. Guy

CS602 Midterm Subjective Solved with Reference By WELL WISHER (Aqua Leo)

CS 464 Review. Review of Computer Graphics for Final Exam

Lahore University of Management Sciences. CS 452 Computer Graphics

Movie: Geri s Game. Announcements. Ray Casting 2. Programming 2 Recap. Programming 3 Info Test data for part 1 (Lines) is available

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

Homework #2 and #3 Due Friday, October 12 th and Friday, October 19 th

Introduction to Visualization and Computer Graphics

Models and The Viewing Pipeline. Jian Huang CS456

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

Institutionen för systemteknik

Mathematical Tools in Computer Graphics with C# Implementations Table of Contents

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK

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

Lahore University of Management Sciences. CS 452 Computer Graphics

Surface Rendering. Surface Rendering

Pipeline Operations. CS 4620 Lecture 14

CS 130 Exam I. Fall 2015

Ray Tracing Basics I. Computer Graphics as Virtual Photography. camera (captures light) real scene. photo. Photographic print. Photography: processing

Course Title: Computer Graphics Course no: CSC209

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

2D/3D Geometric Transformations and Scene Graphs

2D Drawing Primitives

9. Illumination and Shading

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.

3D Mathematics. Co-ordinate systems, 3D primitives and affine transformations

Overview: Ray Tracing & The Perspective Projection Pipeline

CS 325 Computer Graphics

Advanced Lighting Techniques Due: Monday November 2 at 10pm

9. Three Dimensional Object Representations

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

The Traditional Graphics Pipeline

Graphics for VEs. Ruth Aylett

light light light B E

CGT 581 G Geometric Modeling Surfaces (part I)

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.

Computer Graphics. - Texturing Methods -

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.

CS 4620 Midterm 1. Tuesday 22 October minutes

Shadows in Computer Graphics

Question 2: Linear algebra and transformations matrices rotation vectors linear transformation T=U*D*VT

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

Photorealism: Ray Tracing

Ray Casting. Outline. Similar to glulookat derivation. Foundations of Computer Graphics

GEOMETRIC TRANSFORMATIONS AND VIEWING

The Traditional Graphics Pipeline

CS 465 Program 4: Modeller

CMSC 435/634: Introduction to Graphics

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

Texture. Texture Mapping. Texture Mapping. CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

COMP 175 COMPUTER GRAPHICS. Ray Casting. COMP 175: Computer Graphics April 26, Erik Anderson 09 Ray Casting

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

Homework 3: Shading, Raytracing, and Image Processing

Programming projects. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer. Assignment 1: Basic ray tracer

Chapter 5. Projections and Rendering

How do we draw a picture?

Shading, Advanced Rendering. Week 7, Wed Feb 28

Computer Graphics I Lecture 11

The Traditional Graphics Pipeline

Math background. 2D Geometric Transformations. Implicit representations. Explicit representations. Read: CS 4620 Lecture 6

Matrix Operations with Applications in Computer Graphics

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]

Computer Graphics. Illumination and Shading

Lecture 11. More Ray Casting/Tracing

Transcription:

CMSC427 Final Practice v2 Fall 2017 This is to represent the flow of the final and give you an idea of relative weighting. No promises that knowing this will predict how you ll do on the final. Some questions are repeated from previous homeworks and test, just as they will be on the final. Some questions are phrased with alternatives this is practice, so the point is to give a range of possible questions. And some questions don t have much space for answers also, just practice. Grade Section Worth Received I. Definitions 25 II. Curves and polygons 25 III. Transformations 25 IV. Surfaces and meshes 25 V. Local and global 25 rendering and shading Total 125 Extra credit. Do you really need a practice bonus question?

2 Section I: Definitions and math (25 pts) Q1. General definitions (12 pts) A. CSG stands for (circle the correct one). i. Cool strategy game ii. Constructive solid geometry iii. Computer systematic graphics iv. Huh? B. Explain briefly the nature and purpose of the Cornell box. C. How does a cube map assist in representing a complete scene? D. Describe the process of capturing a 3D mesh.

3 Q2. Essential math (13 pts) A. Find a normal vector to the following triplet of points (doesn t matter if it is out or in relative to the triangle.) P1=(1,1,1) P2=(1,0,1) P3=(1,0,0) B. Given three points, how do you determine they are collinear given vector operations? C. Compute the distance from point (1,1) to the line defined by (1,2) and (5,4). D. Using vector operations, how would you determine if four points P1, P2, P3 and P4 are coplanar? 3

4 Section II: Curves and polygons (25 pts) Q1. Polygons (13 pts) A. Given a polygon of n points, what s the brute force algorithm to determine if the points represent a convex polygon. B. Give the sequence of vertices needed to draw this polygon using GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN. A I B H G F D E FAN STRIP

5 Q2. Polygons (12 pts) A. Given the fractal curve below, give (a) an Turtle graphics generator for it and (b) the fractal dimension. B. Describe the basic process of mid-point displacement fractals. 2D version. Given two points A and B, how you compute a displacement point 3D version. Given three points A, B and C on a triangle that represent part of a terrain surface, how would you compute a displacement and recursively define three new triangles? 5

6 Section III: Transformations (25 pts) Q1. Basic transformations (10 pts) A. Which of the following pairs of transformations do not commute? i. Non-uniform scale and rotation in 2 or 3D. ii. Two rotations around the origin in 2D. iii. Two general rotations in 3D. B. Give matrices to rotate and translate a shape around its center of mass. Assume the center of mass is at (x,y), and the rotation is theta. Since it s in 2D the rotation isn t around a specific axis we re in the xy plane. Give the matrices, and then give the composition of matrices you d need to perform the operations in the right order. Do not calculate out the final matrix.

7 Q2. Camera. (8 pts) A. What happens if the up vector is <0,0,0>? B. Given the input data below, compute the camera coordinate system xc, yc and zc, and the camera matrix. For full credit give the inverse matrix at = (1,0,1) lookat = (1,0,0) up = < 0, 1, 0> 7

8 Q3. Perspective (7 pts) From this diagram set up the perspective equation for x. Here N is the offset of the eye point back from the origin useful if you d like to take the eye point to negative infinity to see what happens. The image plane is the X axis. Give the similar triangle equation, the perspective solution for little x, and the resulting matrix. X <X,Y,Z> x=? N Z

9 Section IV: Surfaces and meshes (25 pts) Q1. Meshes (12 pts) A. An indexed polygon mesh data structure maintains three lists, vertices, normals and faces. What information does a face have? B. What is the difference between facet and true normals, and why we assign normals to each vertex rather than each face? C. What s the approximate space efficiency for N vertices of using a triangle strip over using triangles, given that the latter requires you to send each vertices multiple times, once for each triangle? 9

10 Q2. Surface equations (13 pts) A. Given the following 2D curve in the x-y plane, give the parametric surface of revolution around the y-axis. P(u) = sin2πu u 2 +1 0 B. Given a 3D parametric surface P(u,v) = < R*cos(v), h*v + d, u^2 >, compute the parametric normal as a function of (u,v).

11 Section V: Local and global shading (25 pts) Q1. Basic shading (12 pts) A What are the differences, in process and effect, between Phong and Gouraud shading? What will the latter miss that the first may catch? B.. How would you map a texture onto a parametric cylinder? 11

12 Q2. Lighting (12 pts) A. In the basic shading model that we ve covered, what s the role of the ambient term? How does it cover up for flaws in how the model approximates lighting in a scene? B. What is the effect of increasing f in the shading equation (the exponent for the specular component? C. What are the purposes of the following rays in ray tracing? a. Shadow ray b. Reflection ray c. Refraction (or Transmission) ray