Final Exam Flashcards
Converting polygons into pixels
Rasterization
Shiny spots or highlights
Specular
The opacity of a pixel
Alpha channel
Soft shading of a surface that changes with angle to a light source
Diffuse
A pixel going through the graphics pipeline, along with location and other data
Fragment
A fixed amount of light added to each pixel
Ambient
Which of the following would be valid reasons for using a number of colors other than 3 to represent the color of a pixel? (Select the best answer.)
Question 2Answer
a.
You are designing a graphics system for colorblind people
b.
You are designing a graphics system for space aliens who have four different types of cones
c.
You are modeling the color-spreading effect of a prism, which depends on light wavelength
d.
All of the above
d.
All of the above
Shooting multiple rays through each pixel to reduce the stair-step effect
Antialiasing
Adjusting the number of rays you shoot through each pixel according to how fast the color is changing with respect to nearby pixels
Adaptive anti-aliasing
When an object is partially transparent a ray striking the surface splits, with some of the “energy” bouncing and some going through. This results in a/an
Ray tree
An algorithm for reducing the number of intersection tests needed to find the object that a ray strikes first
Bounding-volume heirarchy
When using ray tracing to generate a realistic image, a ray is shot from the eye point, through a pixel, and to an object in the scene. From there the ray travels in various directions in different cases. In each case below choose the direction the ray would travel.
- Ray tracing a specular highlight
- Ray tracing for diffuse illumination
- Transparency without refraction
- Transparency with refraction
- Reflection direction
- Toward the light source
- Continue in the same direction
- Continue in nearly the same direction, modified by the index of refraction
Suppose you are generating a ray-traced image of a scene (1,000,000 pixels) with 10,000 objects using the basic algorithm (no adaptive anti-aliasing or bounding volume hierarchy). You shoot 25 rays through each pixel for anti-aliasing, and you limit the number of rays in each ray tree to 40. There are 3 color values per pixel, 60 frames per second, and 3 point light sources.
How many ray / object intersection tests would be needed for real-time ray tracing?
Question 5Answer
a.
250 million
b.
1.8 quadrillion
c.
250 billion
d.
600 trillion
d.
600 trillion
Rayshade lets you use a noise function to alter certain surface properties of objects in a scene. Which of the following can be done with procedural textures? Select all that apply.
Question 6Answer
a.
Making a hilly landscape
b.
Waves on a body of water
c.
Wispy clouds that vary in transparency
d.
Wood-grain patterns on surfaces
A, B, C, D
The algorithm used to compute form factors
Hemicube
The light reflected or emitted from a patch
Radiosity
A section of an object of the scene treated as a unit in the radiosity computation
Patch
The fraction of radiosity from one patch that reaches another patch
Form factor
The law of physics that radiosity simulates
conservation of energy
Which of the following visible effects are strengths of the radiosity algorithm? (Check all that apply)
Question 8Answer
a.
Transparency with refraction
b.
Shadows with soft edges
c.
Mirror-like reflections
d.
Color bleeding from one surface to another
B, D
You want to draw a triangle in 2D canvas. What primitive should you use?
Image
Rectangle
Text
Path
Path
You want to draw a circle in 2D canvas. What primitive should you use?
Image
Text
Path
Rectangle
Path
You want to draw a wavy line in 2D canvas. What primitive should you use?
Text
Path
Image
Rectangle
Path
Suppose you are generating graphics via Canvas 2D and you want to make everything twice as tall using the setTransform function. Which value would you modify?
[ a c e ]
[ b d f ]
[ 0 0 1 ]
What would you set its value to?
d
2
The jQuery function call
$(“#menu”)
operates on which element or elements on the web page?
Element with ID “menu”
Elements with class “menu”
Elements of type menu
Element with ID “menu”
The jQuery function call
$(“#menu”).bind(‘click’,display)
causes a function called ‘display’ to be called for what menu event?
Click
Mouse-exit
Mouse-over
Click
Primitives such as spline surfaces are cut up into polygons:
Front End
Vertex Shader
Rasterizer
Fragment Shader
Back End
Front End