https://ilearn.marist.edu/xsl-portal/tool/d4e4fd3a-a3...

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

Pipeline Operations. CS 4620 Lecture 14

Pipeline Operations. CS 4620 Lecture 10

CS 130 Final. Fall 2015

CHAPTER 1 Graphics Systems and Models 3

Textures. Texture coordinates. Introduce one more component to geometry

PROFESSIONAL. WebGL Programming DEVELOPING 3D GRAPHICS FOR THE WEB. Andreas Anyuru WILEY. John Wiley & Sons, Ltd.

CS 130 Exam I. Fall 2015

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

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

CS452/552; EE465/505. Clipping & Scan Conversion

3D Rasterization II COS 426

Level of Details in Computer Rendering

CS 464 Review. Review of Computer Graphics for Final Exam

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]

Module 13C: Using The 3D Graphics APIs OpenGL ES

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

graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1

graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1

CS 354R: Computer Game Technology

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

Deferred Rendering Due: Wednesday November 15 at 10pm

CSE528 Computer Graphics: Theory, Algorithms, and Applications

Mattan Erez. The University of Texas at Austin

Models and Architectures

CS451Real-time Rendering Pipeline

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

CS 4620 Program 3: Pipeline

CS4620/5620: Lecture 14 Pipeline

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

CS 130 Exam I. Fall 2015

CS 4620 Midterm, March 21, 2017

Computer Graphics (CS 543) Lecture 10: Soft Shadows (Maps and Volumes), Normal and Bump Mapping

Introduction to Visualization and Computer Graphics

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

lecture 18 - ray tracing - environment mapping - refraction

Performance OpenGL Programming (for whatever reason)

TDA361/DIT220 Computer Graphics, January 15 th 2016

Introduction to Computer Graphics with WebGL

Graphics and Interaction Rendering pipeline & object modelling

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

Interpolation using scanline algorithm

Computer Graphics I Lecture 11

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

Advanced Lighting Techniques Due: Monday November 2 at 10pm

3/1/2010. Acceleration Techniques V1.2. Goals. Overview. Based on slides from Celine Loscos (v1.0)

Complex Shading Algorithms

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

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

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

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

Graphics Hardware and Display Devices

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

Computer Graphics: Programming, Problem Solving, and Visual Communication

FROM VERTICES TO FRAGMENTS. Lecture 5 Comp3080 Computer Graphics HKBU

The Rasterizer Stage. Texturing, Lighting, Testing and Blending

Computer Graphics 1. Chapter 7 (June 17th, 2010, 2-4pm): Shading and rendering. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2010

Models and Architectures. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

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

Textures and normals in ray tracing

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops.

Lecture 17: Shading in OpenGL. CITS3003 Graphics & Animation

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

Illumination and Shading

03 RENDERING PART TWO

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK

From Graphics to Visualization

Displacement Mapping

Projections and Hardware Rendering. Brian Curless CSE 557 Fall 2014

Graphics for VEs. Ruth Aylett

Computer Graphics 10 - Shadows

TSBK03 Screen-Space Ambient Occlusion

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

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

Topics and things to know about them:

CS 498 VR. Lecture 19-4/9/18. go.illinois.edu/vrlect19

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

The Rasterization Pipeline

CS 431/636 Advanced Rendering Techniques

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

The Traditional Graphics Pipeline

Introduction to Computer Graphics

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

CS GAME PROGRAMMING Question bank

Reading. 18. Projections and Z-buffers. Required: Watt, Section , 6.3, 6.6 (esp. intro and subsections 1, 4, and 8 10), Further reading:

Buffers, Textures, Compositing, and Blending. Overview. Buffers. David Carr Virtual Environments, Fundamentals Spring 2005 Based on Slides by E.

Hidden Surfaces II. Week 9, Mon Mar 15

Today. Texture mapping in OpenGL. Texture mapping. Basic shaders for texturing. Today. Computergrafik

Rasterization. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 16

CS 498 VR. Lecture 18-4/4/18. go.illinois.edu/vrlect18

Computer Graphics. Shadows

The Traditional Graphics Pipeline

CEng 477 Introduction to Computer Graphics Fall 2007

RASTERISED RENDERING

Programming Graphics Hardware

Render-To-Texture Caching. D. Sim Dietrich Jr.

Texture Mapping. Michael Kazhdan ( /467) HB Ch. 14.8,14.9 FvDFH Ch. 16.3, , 16.6

OUTLINE. Learn the basic design of a graphics system Introduce pipeline architecture Examine software components for a graphics system

Real Time Rendering of Complex Height Maps Walking an infinite realistic landscape By: Jeffrey Riaboy Written 9/7/03

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Transcription:

Assessment Preview - This is an example student view of this assessment done Exam 2 Part 1 of 5 - Modern Graphics Pipeline Question 1 of 27 Match each stage in the graphics pipeline with a description of the operations generally performed therein. A. generate new vertices and primitives, subdivide surface dynamically B. matrix transformations (projection, camera, object), flat or smooth shading, clipping C. z-buffer algorithm, interpolating normal vectors, viewport transform D. creation of base geometry, definition of lighting properties, animation E. compositing, per-pixel shading, texture mapping 1. vertex 2. fragment 3. rasterizer 4. geometry 5. application Question 2 of 27 Which of the stages from the prior question are programmable in the modern pipeline? A. all of them B. only the application stage C. vertex, rasterizer, and fragment D. all except the rasterizer Question 3 of 27 Gouraud smooth shading is performed at the stage of the pipeline, while Phong shading is done at the stage. Question 4 of 27 1 of 10 12/07/2010 06:18 PM

Consider the image above. Following the Cohen-Sutherland algorithm, the outcodes for endpoints a and b are and, respectively. Question 5 of 27 Can we trivially accept/reject the line segment in the prior question? Explain your answer. Part 2 of 5 - Lighting & Shading Question 6 of 27 Match each type of reflection with the appropriate heuristic formula. Use accompanying diagram to jog you memory. 2 of 10 12/07/2010 06:18 PM

A. k * I B. k * I * max(0, n l) C. k * I * max(0, r v) p 1. diffuse reflection 2. specular reflection 3. ambient reflection Question 7 of 27 Derive a complete reflection model for multiple lights incorporating each of the formulæ from the prior question. Question 8 of 27 What do the k, I, and p scalars represent, respectively, in the above formulæ? Question 9 of 27 Smooth shading differs from flat shading in that: A. colors are blended across the surface using a texture map B. it requires programmable geometry shaders C. the underlying surface geometry is subdivided to yield finer detail D. lighting is computing multiple times per primitive using vertex normals Question 10 of 27 For Phong shading, the lighting equation must be evaluated once for each of the rasterized primitive. Gouraud shading is more efficient because the lighting equation must be evaluated once per. 3 of 10 12/07/2010 06:18 PM

Question 11 of 27 If, upon rendering, one object (but not the whole scene) appears completely black and featureless, which of the following is the most common, plausible explanation? A. there are no active lights in the scene B. the alpha color component is accidentally set to zero C. it is obscured by another, closer object D. the surface normal vectors are inverted (pointing inward) Question 12 of 27 Briefly explain the "infinite light" and "infinite viewer" optimizations. Part 3 of 5 - Texture Mapping Question 13 of 27 For each of the following objects or effects, indicate whether it would be best modeled using image-based (I) textures, or procedural (P) textures. decal or logo stone clouds surface of Earth fabric wood Question 14 of 27 Briefly discuss the relative advantages and disadvantages using of procedural versus image-based textures. Address issues such as time/memory efficiency and visual artifacts of the texture-mapping process. 4 of 10 12/07/2010 06:18 PM

Question 15 of 27 Bump mapping is a technique used to simulate small-scale surface features without the need for detailed geometric models. The effect is achieved by: A. changing the color at each point based on the nearest texel in the texture image B. moving the position of each vertex by some random small amount C. recalculating the lighting for each point using a slightly different position for the light source D. perturbing the normal vector at each point based on the associated texel value Question 16 of 27 A tell-tale artifact of the bump mapping technique is that the object's expensive approach that does affect the actual shape of the object is called will appear unchanged. A more mapping. Question 17 of 27 Consider the texture image above. For each possible mapping to a quad face shown below, specify the normalized UV texture coordinates of the lower right-hand vertex. Assume that texture coordinates (0,0) and (0,1) map to the upper and lower left-hand corners of the image, respectively. Furthermore, the texture function wraps horizontally and vertically, so that (2,0) maps to the same color as (1,0). 5 of 10 12/07/2010 06:18 PM

1., ) ( 2., ) ( 6 of 10 12/07/2010 06:18 PM

3., ) ( Part 4 of 5 - Graphics Data Structures Question 18 of 27 4.0 Points Consider the following description of a (possibly animated) 3D scene. Then draw a plausible scene graph for this scene, being sure to consider how various elements may be positioned or animated. Note: You may create your scene graph in an editor, save the file and then upload; alternatively, you can simply sketch the graph by hand on paper and submit the hard-copy at the conclusion of the exam. "A small cottage has a two windows that each may open by sliding up/down, a hinged front door that can swing open. On the door is a knob that can turn in the usual way." Upload File: Browse... Question 19 of 27 Scene graphs offer many opportunities for optimization. One method discussed in class, known as instancing, involves taking advantage of similar/identical geometry in order to reduce memory requirements. Explain how using this method would change the scene graph you sketched for the previous question; or, if you accounted for this technique in your graph, explain where. 7 of 10 12/07/2010 06:18 PM

Question 20 of 27 Briefly explain how animation is achieved when using a scene graph. (Hint: Recall the various types of graph traversal used by OSG.) Question 21 of 27 Shared-vertex representations such as triangle strips or fans can be useful for some applications, but not so much for others. Select the explanation below that best characterizes why. A. they require too much memory for certain mesh topologies B. they are useful in C-programs but are difficult to implement in an object-oriented design C. they are extremely slow to traverse for large meshes D. they are storage efficient but are not conducive to editing Question 22 of 27 Explain what data we store in a Half-Edge data structure and why this is a more time-efficient representation, for traversal, than the traditional Winged-Edge. You may refer to the diagram of a Winged-Edge below to jog your memory. 8 of 10 12/07/2010 06:18 PM

Question 23 of 27 Complete the following pseudo-code for the EdgesOfVertex routine. EdgesOfVertex (v) let e = do.edge if (v == e. ) e = e.leftnext else e = e. while (!= v.e) Question 24 of 27 3.0 Points Complete the tables below, given the above diagram of a triangle mesh. Note that uppercase letters indicate Vertices, lowercase letters indicate Edges, and digits indicate Faces. WingedEdge Table Edge Head Tail Vertex Vertex Left Face a A B 2 0 f Right Face Left Prev b A c D A 2 1 a d B C 3 0 h e f D B g E B 3 5 d h C i D E 4 5 h Vertex Table Vertex Edge A b 9 of 10 12/07/2010 06:18 PM

B C D e i E Face Table Face Edge 0 a 1 c 2 3 g 4 5 i Part 5 of 5 - Antialiasing & Compositing Question 25 of 27 Complete the formula for basic alpha compositing. Type cf to indicate the foreground color, and cb to indicate the background color. c = α * + ( - α) * Question 26 of 27 Briefly explain how resampling is used to implement antialiasing in each of the following algorithms: rasterization, ray-tracing, and texturemapping. Specifically, describe differences in what we are sampling. Question 27 of 27 Which of the following describes what mipmaps are? A. a subtree within a scene graph hierarchy B. images used to make a surface appear bumpy C. a function used to match 3D world coordinates to 2D texture coordinates D. smaller resolution versions of an image used for blending or LOD Assessment Preview - This is an example student view of this assessment done 10 of 10 12/07/2010 06:18 PM