Video Game Graphics Pipeline
- 67Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What are the three core steps of the video game graphics rendering pipeline?
What are the three core steps of the video game graphics rendering pipeline?
67 questions
- 1
What are the three core steps of the video game graphics rendering pipeline?
- A
Vertex shading, rasterization, and fragment shading
- B
Texture mapping, ray tracing, and frame buffering
- C
Modeling, animation, and display scanning
- D
Lighting, collision detection, and image compression
Correct answer
AVertex shading, rasterization, and fragment shading
Explanation
The three foundational pipeline steps are vertex shading, rasterization, and fragment shading.
- A
- 2
What is the primary purpose of vertex shading?
- A
To upscale a low-resolution image into a higher-resolution frame
- B
To calculate the illumination and color of each visible pixel
- C
To determine which display pixels are covered by each triangle
- D
To transform 3D geometry into positions on a 2D view screen
Correct answer
DTo transform 3D geometry into positions on a 2D view screen
Explanation
Vertex shading transforms object vertices from 3D space into screen positions, including depth information.
- A
- 3
What is the primary purpose of rasterization?
- A
To calculate the angle between a light and a surface normal
- B
To generate a high-resolution image using a neural network
- C
To move each model from model space into world space
- D
To determine which pixels are covered by each transformed triangle
Correct answer
DTo determine which pixels are covered by each transformed triangle
Explanation
Rasterization uses the screen coordinates of a triangle's vertices to identify the pixels covered by that triangle.
- A
- 4
What is the primary purpose of fragment shading?
- A
To convert the camera's field of view into vertex coordinates
- B
To identify the triangles that intersect the camera's viewing plane
- C
To divide a model into vertices and flat triangular surfaces
- D
To apply realistic lighting, shadows, reflections, and material effects to pixels
Correct answer
DTo apply realistic lighting, shadows, reflections, and material effects to pixels
Explanation
Fragment shading determines the final appearance of pixels by accounting for illumination, camera position, reflections, shadows, and materials.
- A
- 5
Why can a complex video game scene be processed efficiently by a GPU?
- A
The GPU avoids transforming most triangles because triangles require no coordinates
- B
The GPU stores every possible final image and selects one during gameplay
- C
The GPU replaces all geometric calculations with manually painted textures
- D
The GPU distributes large amounts of similar mathematical work across many cores
Correct answer
DThe GPU distributes large amounts of similar mathematical work across many cores
Explanation
GPUs are designed to distribute repetitive vertex and transformation calculations across many computational cores.
- A
- 6
What is a fragment in the graphics rendering pipeline?
- A
A complete frame stored before it is sent to the display
- B
A group of pixels produced by rasterizing one triangle
- C
A single vertex before it is transformed into screen space
- D
A light source represented by a collection of surface normals
Correct answer
BA group of pixels produced by rasterizing one triangle
Explanation
Rasterization turns a triangle into a fragment, which is the set of pixels covered by that triangle and associated with its color or texture.
- A
- 7
Why must the rendering pipeline be recalculated continuously during gameplay?
- A
The camera and scene objects continually change position and orientation
- B
The GPU loses all vertex coordinates after completing each triangle
- C
Textures change from binary data into analog signals after each frame
- D
The number of pixels in the display changes every time a frame is shown
Correct answer
AThe camera and scene objects continually change position and orientation
Explanation
Because the camera and objects move, their projected positions, visibility, and shading must be recalculated for every frame.
- A
- 8
At a rendering rate of 120 frames per second, approximately how often are the pipeline calculations repeated?
- A
Every 8.3 milliseconds
- B
Every 50 milliseconds
- C
Every 16.7 milliseconds
- D
Every 120 milliseconds
Correct answer
AEvery 8.3 milliseconds
Explanation
The frame interval is approximately 1/120 second, or about 8.3 milliseconds.
- A
- 9
What does the graphics rendering pipeline ultimately produce for the display?
- A
A set of camera coordinates that still requires geometric projection
- B
A two-dimensional image assembled from transformed and shaded triangles
- C
A list of light directions without any associated pixel information
- D
A three-dimensional collection of unprocessed model-space vertices
Correct answer
BA two-dimensional image assembled from transformed and shaded triangles
Explanation
The pipeline transforms 3D geometry into a 2D image whose pixels are assigned visibility, color, and lighting information.
- A
- 10
Why are triangles commonly used as the basic geometric primitive in real-time graphics?
- A
Triangles provide a simple mesh structure that GPUs can process in large numbers
- B
Triangles automatically contain realistic lighting without fragment shading
- C
Triangles always remain visible regardless of the camera's position
- D
Triangles eliminate the need for coordinates, matrices, and depth values
Correct answer
ATriangles provide a simple mesh structure that GPUs can process in large numbers
Explanation
The content describes GPUs as highly optimized for rendering triangle meshes, allowing millions of triangles to be processed rapidly.
- A
- 11
Which sequence correctly describes the three coordinate transformations applied to a vertex?
- A
Screen space to world space, world space to model space, model space to camera space
- B
World space to model space, screen space to camera space, camera space to texture space
- C
Camera space to model space, model space to screen space, screen space to world space
- D
Model space to world space, world space to camera space, camera space to screen space
Correct answer
DModel space to world space, world space to camera space, camera space to screen space
Explanation
A vertex is first placed in the world, then expressed relative to the camera, and finally projected onto the view screen.
- A
- 12
Which information is needed to transform a vertex from model space into world space?
- A
The model's position, scale, and rotation in the world
- B
The light's intensity, color, and distance from the camera
- C
The display's pixel count, color depth, and refresh interval
- D
The triangle's barycentric coordinates, texture, and fragment depth
Correct answer
AThe model's position, scale, and rotation in the world
Explanation
The model-to-world transformation uses the model's position, scale, and rotation.
- A
- 13
Which camera information affects the transformation of a vertex into screen space?
- A
The camera's coordinates, rotation, and field of view
- B
The camera's frame buffer, Z-buffer, and fragment color
- C
The camera's texture color, material type, and surface normal
- D
The camera's triangle count, vertex count, and mesh topology
Correct answer
AThe camera's coordinates, rotation, and field of view
Explanation
The final projection depends on the camera's position, orientation, and field of view.
- A
- 14
What is the role of transformation matrices in vertex shading?
- A
They store the color of every pixel that will appear in the final image
- B
They combine coordinate and camera information to calculate screen position and depth
- C
They determine the number of sampling points used for anti-aliasing
- D
They identify which light sources should be replaced by ambient illumination
Correct answer
BThey combine coordinate and camera information to calculate screen position and depth
Explanation
The relevant values are placed into transformation matrices, which are multiplied to obtain the vertex's screen-space X, Y, and Z values.
- A
- 15
What does the transformed Z value of a vertex represent in the rendering pipeline?
- A
Its depth or distance relative to the camera
- B
Its red color contribution in the final image
- C
Its horizontal position on the display
- D
Its number of adjacent triangles in the mesh
Correct answer
AIts depth or distance relative to the camera
Explanation
The transformed Z coordinate records depth and is later used to determine which surfaces are visible.
- A
- 16
How is an entire train model transformed onto the screen?
- A
Each vertex is transformed individually, causing its triangles to move into screen space
- B
Only the front-facing triangle is transformed and copied over the rest of the train
- C
The train is transformed as one indivisible mathematical point
- D
The model is converted directly into pixels without transforming its vertices
Correct answer
AEach vertex is transformed individually, causing its triangles to move into screen space
Explanation
Although the train appears to move as one object, its hundreds of thousands of vertices are transformed one at a time.
- A
- 17
A scene contains 1,100 models, but the camera's field of view includes only 600. What is the significance of this reduction?
- A
The camera increases the resolution of the remaining objects automatically
- B
The renderer can avoid processing objects outside the camera's visible region
- C
The renderer must duplicate the visible objects to preserve scene complexity
- D
The field of view converts the remaining objects from triangles into pixels
Correct answer
BThe renderer can avoid processing objects outside the camera's visible region
Explanation
The camera's field of view limits the objects that need to be rendered, reducing unnecessary work.
- A
- 18
After three vertices have been transformed, what screen-space primitive do they define?
- A
One triangle
- B
One display frame
- C
One light source
- D
One complete object
Correct answer
AOne triangle
Explanation
Three transformed vertices define a single triangle on the 2D view screen.
- A
- 19
Why can a GPU render millions of triangles every few milliseconds?
- A
It uses the CPU to paint every pixel while the GPU stores only textures
- B
It replaces matrix multiplication with a fixed image of a similar scene
- C
It renders only one vertex per object and estimates all remaining geometry
- D
Its many cores execute large numbers of multiplication and addition operations in parallel
Correct answer
DIts many cores execute large numbers of multiplication and addition operations in parallel
Explanation
GPUs contain many specialized cores that distribute vertex coordinates and transformation calculations across parallel computation units.
- A
- 20
What does rasterization determine for a transformed triangle?
- A
Which neural-network layers should upscale the triangle
- B
Which specific pixels in the display grid are covered by the triangle
- C
Which camera rotations are needed to illuminate the triangle
- D
Which world-space coordinates are assigned to the model's origin
Correct answer
BWhich specific pixels in the display grid are covered by the triangle
Explanation
Rasterization uses the triangle's screen-space X and Y coordinates to identify its covered pixels.
- A
- 21
Approximately how many pixels are in a 3840imes2160 display?
- A
Approximately 8.3 million pixels
- B
Approximately 3.5 million pixels
- C
Approximately 2.1 million pixels
- D
Approximately 976 thousand pixels
Correct answer
AApproximately 8.3 million pixels
Explanation
Multiplying 3840 by 2160 gives approximately 8.3 million pixels.
- A
- 22
What happens after rasterization identifies the pixels covered by a triangle?
- A
Those pixels are associated with the triangle's texture or color
- B
Those pixels are converted into camera rotations
- C
Those pixels are transformed back into model-space vertices
- D
Those pixels are removed from the frame buffer immediately
Correct answer
AThose pixels are associated with the triangle's texture or color
Explanation
The pixels covered by a rasterized triangle receive the color or texture assigned to that triangle before further shading.
- A
- 23
How is a final image formed in the frame buffer?
- A
The RGB values of appropriate fragments are applied to the corresponding pixels
- B
The Z values are displayed directly as red, green, and blue channels
- C
The vertices are shown as points while triangles remain mathematically invisible
- D
The camera's field of view is copied into every pixel without shading
Correct answer
AThe RGB values of appropriate fragments are applied to the corresponding pixels
Explanation
The renderer applies red, green, and blue color values to the appropriate pixels, building the image in the frame buffer.
- A
- 24
What is the visibility problem in computer graphics?
- A
Determining which neural network should upscale a rendered frame
- B
Determining which colors should be used to represent a material
- C
Determining how many vertices are needed to model a curved surface
- D
Determining which overlapping triangles are in front of and should obscure others
Correct answer
DDetermining which overlapping triangles are in front of and should obscure others
Explanation
The visibility problem concerns deciding which surfaces are closest to the camera when triangles overlap.
- A
- 25
What information does a Z-buffer store for each pixel?
- A
The rotation of the camera when the pixel was first created
- B
The number of triangles that have been rasterized into the pixel
- C
The depth or distance of the currently visible surface from the camera
- D
The average RGB color of every triangle in the scene
Correct answer
CThe depth or distance of the currently visible surface from the camera
Explanation
A Z-buffer adds a depth value to each pixel so that the renderer can compare competing surfaces.
- A
- 26
A newly rasterized triangle has a lower depth value than the value stored for a pixel. What should happen?
- A
The existing pixel is darkened while the stored depth remains unchanged
- B
The triangle's color replaces the pixel, and its depth replaces the stored depth
- C
The triangle is moved farther from the camera before being rasterized again
- D
The triangle is discarded because lower depth values indicate greater distance
Correct answer
BThe triangle's color replaces the pixel, and its depth replaces the stored depth
Explanation
A lower depth value represents a closer surface, so the new triangle replaces both the pixel color and the stored depth.
- A
- 27
A newly rasterized triangle has a higher depth value than the value stored for a pixel. What should happen?
- A
The triangle is discarded because the existing surface is closer
- B
The triangle replaces the existing pixel because higher values are always preferred
- C
The two colors are averaged without comparing their depths
- D
The pixel is removed so that both triangles become transparent
Correct answer
AThe triangle is discarded because the existing surface is closer
Explanation
A higher depth value indicates a farther surface, so the previously stored closer surface remains visible.
- A
- 28
Why must depth sometimes be computed separately for each pixel of a triangle?
- A
A triangle's three vertices can have different depths, so depth varies across its surface
- B
The triangle changes its number of vertices as it crosses the display
- C
Every pixel has a different RGB color before rasterization begins
- D
The camera uses a different field of view for every pixel
Correct answer
AA triangle's three vertices can have different depths, so depth varies across its surface
Explanation
Because the triangle's vertices may have different Z values, the depth at each covered pixel must be interpolated across the triangle.
- A
- 29
How does per-pixel depth calculation help render intersecting triangles?
- A
It forces all intersecting triangles to use the same surface normal
- B
It allows the renderer to determine the correct intersection visibility pixel by pixel
- C
It eliminates the need to transform vertices into screen coordinates
- D
It guarantees that distant triangles are painted over nearby triangles
Correct answer
BIt allows the renderer to determine the correct intersection visibility pixel by pixel
Explanation
Computing depth across each triangle allows the Z-buffer to resolve intersections accurately at individual pixels.
- A
- 30
What visual artifact can occur when a triangle crosses a pixel at an angle?
- A
The pixel automatically displays the average color of every scene object
- B
The triangle gains extra vertices along its edge during fragment shading
- C
The triangle becomes completely invisible because angled edges have no depth
- D
The edge can appear jagged because the entire pixel is assigned one color
Correct answer
DThe edge can appear jagged because the entire pixel is assigned one color
Explanation
If a triangle crosses a pixel, basic rasterization may paint the entire pixel, producing a jagged edge.
- A
- 31
What is the purpose of Super Sampling Anti-Aliasing?
- A
To transform model coordinates into camera coordinates
- B
To increase the number of light sources affecting a scene
- C
To determine which triangle is closest using depth comparisons
- D
To reduce jagged edges by estimating partial pixel coverage
Correct answer
DTo reduce jagged edges by estimating partial pixel coverage
Explanation
SSAA reduces pixelation by sampling different locations within a pixel and applying a fractional color based on coverage.
- A
- 32
How does SSAA determine a fractional shade for a pixel?
- A
It measures how many of its sampling points are covered by the triangle
- B
It replaces the pixel with the color of the nearest light source
- C
It averages the depth values of all triangles in the scene
- D
It chooses the color of the triangle with the most vertices
Correct answer
AIt measures how many of its sampling points are covered by the triangle
Explanation
SSAA distributes sampling points within a pixel and uses the fraction covered by a triangle to determine the pixel's shade.
- A
- 33
In the described SSAA example, how many sampling points are distributed across one pixel?
- A
Sixteen sampling points
- B
Thirty-two sampling points
- C
Eight sampling points
- D
One hundred sampling points
Correct answer
ASixteen sampling points
Explanation
The example uses 16 sampling points within each pixel.
- A
- 34
Why do fractional shades produced by SSAA make an edge appear smoother?
- A
They increase the depth difference between adjacent triangles
- B
They force every triangle to use the same color at its edges
- C
They remove all pixels touched by a triangle's boundary
- D
They create faded edge pixels instead of abruptly coloring an entire pixel
Correct answer
DThey create faded edge pixels instead of abruptly coloring an entire pixel
Explanation
Partially covered pixels receive intermediate shades, creating a gradual transition that makes jagged edges less noticeable.
- A
- 35
What factors must fragment shading account for to make a scene realistic?
- A
Only the model's origin, scale, rotation, and world-space coordinates
- B
Light direction and strength, camera position, reflections, and shadows
- C
Only the number of sampling points, pixels, textures, and frame buffers
- D
Only the triangle count, vertex count, display size, and frame rate
Correct answer
BLight direction and strength, camera position, reflections, and shadows
Explanation
Fragment shading uses illumination, viewing position, reflections, and shadows to calculate realistic pixel appearance.
- A
- 36
How does a surface's orientation relative to a light source affect its brightness?
- A
A surface facing the light is brighter, while a perpendicular or backward-facing surface is darker
- B
A surface facing away from the light is brighter because it receives reflected light automatically
- C
Surface orientation has no effect because all fragments receive identical illumination
- D
A surface is brightest only when its normal is perpendicular to the light direction
Correct answer
AA surface facing the light is brighter, while a perpendicular or backward-facing surface is darker
Explanation
Surfaces oriented toward a light receive stronger illumination, while perpendicular or opposing surfaces receive less.
- A
- 37
What is a surface normal?
- A
A direction perpendicular to a triangle's surface
- B
A vector pointing from the camera to the display
- C
The average RGB value of a triangle's pixels
- D
The distance between a triangle and the nearest light
Correct answer
AA direction perpendicular to a triangle's surface
Explanation
The surface normal is the direction perpendicular to the plane of a triangle.
- A
- 38
What two directions are compared to calculate a triangle's basic lighting response?
- A
The direction of the camera and the direction of the triangle's texture
- B
The direction of the light and the direction of the triangle's surface normal
- C
The direction of the display scan and the direction of the frame buffer
- D
The direction of the triangle's motion and the direction of its world position
Correct answer
BThe direction of the light and the direction of the triangle's surface normal
Explanation
Basic diffuse lighting depends on the relationship between the light direction and the triangle's surface normal.
- A
- 39
What does the value of cos(theta) represent in the simplified lighting calculation?
- A
How far the triangle is from the camera
- B
How many pixels are covered by the triangle
- C
How directly the triangle's surface faces the light
- D
How many adjacent triangles share the same vertex
Correct answer
CHow directly the triangle's surface faces the light
Explanation
The cosine of the angle between the light direction and surface normal measures their alignment.
- A
- 40
What is the value of cos(theta) when a surface faces directly toward the light?
- A
1
- B
0.5
- C
0
- D
−1
Correct answer
A1
Explanation
When the surface normal and light direction align, the angle is zero and cos(0)=1.
- A
- 41
What is the value of cos(theta) when a surface is perpendicular to the light direction?
- A
−1
- B
0.25
- C
1
- D
0
Correct answer
D0
Explanation
A perpendicular surface forms a 90-degree angle with the light direction, and cos(90^circ)=0.
- A
- 42
In the simplified shading model, what quantities are multiplied to obtain the lighted material color?
- A
The camera depth, triangle count, and display resolution
- B
The clamped cosine term, light intensity, and material color
- C
The vertex count, field of view, and frame interval
- D
The texture coordinates, Z-buffer value, and sampling count
Correct answer
BThe clamped cosine term, light intensity, and material color
Explanation
The lighting contribution is calculated from the cosine alignment term, the light intensity, and the material color.
- A
- 43
Why is the cosine lighting term clamped to a minimum of zero?
- A
To convert all depth values into nonnegative RGB values
- B
To make perpendicular surfaces brighter than front-facing surfaces
- C
To ensure that every surface receives maximum direct illumination
- D
To prevent surfaces facing away from the light from producing negative lighting
Correct answer
DTo prevent surfaces facing away from the light from producing negative lighting
Explanation
Negative cosine values would represent light coming from behind the surface, so the direct-light term is limited to zero.
- A
- 44
What is the purpose of adding ambient light to the shading calculation?
- A
To replace the need to calculate surface normals
- B
To increase the number of pixels covered by each triangle
- C
To prevent surfaces from becoming completely black when direct light is absent
- D
To make all surfaces equally bright regardless of their orientation
Correct answer
CTo prevent surfaces from becoming completely black when direct light is absent
Explanation
Ambient light adds a baseline illumination, preventing surfaces facing away from direct lights from becoming pitch black.
- A
- 45
How is ambient light typically adjusted between daytime and nighttime scenes?
- A
It is lower during the day and highest at night
- B
It is higher during the day and closer to zero at night
- C
It remains exactly constant regardless of the time of day
- D
It is applied only to surfaces facing directly toward the sun
Correct answer
BIt is higher during the day and closer to zero at night
Explanation
The content describes using stronger ambient illumination during daytime and reducing it toward zero at night.
- A
- 46
How are multiple light sources handled in the described lighting model?
- A
All light directions are averaged before any surface calculation occurs
- B
Each light's contribution is calculated separately and then added together
- C
Each light replaces the material color rather than contributing illumination
- D
Only the brightest light is used, while all other lights are ignored
Correct answer
BEach light's contribution is calculated separately and then added together
Explanation
The renderer repeats the lighting calculation for each source and sums the individual contributions.
- A
- 47
Why might a game limit the number or range of light sources?
- A
Calculating many light contributions can be computationally intensive for the GPU
- B
The Z-buffer can store depth values for only one light source
- C
Additional lights prevent triangles from having surface normals
- D
Distant lights cannot be represented using RGB color values
Correct answer
ACalculating many light contributions can be computationally intensive for the GPU
Explanation
Multiple lighting calculations require additional GPU work, so games may limit light counts or ignore distant lights.
- A
- 48
What visual effect does a specular highlight represent?
- A
The visible outline created when a triangle crosses a pixel
- B
The depth value assigned to a hidden triangle
- C
Shininess caused by light reflecting strongly from a surface
- D
Darkness caused by a surface facing away from every light
Correct answer
CShininess caused by light reflecting strongly from a surface
Explanation
Specular highlights are bright, shiny regions produced when light bounces off a surface toward the viewer.
- A
- 49
Why would applying one uniform black color to every train fragment look unrealistic?
- A
It would ignore variations caused by lighting direction, intensity, and surface orientation
- B
It would make the train use more triangles than the GPU can process
- C
It would prevent rasterization from identifying the train's covered pixels
- D
It would cause the train's vertices to lose their world-space coordinates
Correct answer
AIt would ignore variations caused by lighting direction, intensity, and surface orientation
Explanation
Realistic metal requires shading differences, such as darker lower surfaces, lighter upper surfaces, and specular highlights.
- A
- 50
What problem results from using one normal for every triangle on a curved object?
- A
The object cannot be transformed from model space to world space
- B
The object automatically receives excessive ambient illumination
- C
The object becomes invisible whenever its triangles overlap
- D
The object receives flat shading and appears less smoothly curved
Correct answer
DThe object receives flat shading and appears less smoothly curved
Explanation
A single normal per flat triangle produces constant color across that triangle, creating flat shading on curved surfaces.
- A
- 51
How is a vertex normal calculated for smooth shading?
- A
By assigning the same normal to every vertex in the entire object
- B
By selecting the normal of the triangle farthest from the camera
- C
By setting the normal equal to the direction of the nearest light
- D
By averaging the normals of the triangles adjacent to that vertex
Correct answer
DBy averaging the normals of the triangles adjacent to that vertex
Explanation
Smooth shading uses a normal at each vertex, calculated from the average of adjacent triangle normals.
- A
- 52
What role do barycentric coordinates play in smooth shading?
- A
They convert a triangle's color into a camera rotation
- B
They count how many lights affect a particular object
- C
They determine which triangle has the smallest depth value
- D
They interpolate the three vertex normals across a triangle
Correct answer
DThey interpolate the three vertex normals across a triangle
Explanation
Barycentric coordinates create a proportional blend of the three vertex normals for each fragment.
- A
- 53
For a particular fragment, what information is used to calculate its interpolated normal?
- A
The display resolution, the frame rate, and the number of scene objects
- B
The Z-buffer image, the camera's field of view, and the material count
- C
The ray-tracing result, the neural-network output, and the frame buffer
- D
The pixel center, the triangle's vertex normals, and the triangle's coordinates
Correct answer
DThe pixel center, the triangle's vertex normals, and the triangle's coordinates
Explanation
The fragment's normal is calculated using the pixel center together with the pre-rasterized triangle's vertex normals and coordinates.
- A
- 54
Why does interpolating vertex normals produce smoother curved surfaces?
- A
Neighboring pixels receive gradually changing surface directions and therefore gradually changing brightness
- B
The interpolation removes the need for light direction and intensity
- C
Every triangle receives exactly the same color, eliminating all shading boundaries
- D
The renderer replaces the curved surface with a single large polygon
Correct answer
ANeighboring pixels receive gradually changing surface directions and therefore gradually changing brightness
Explanation
A gradient of interpolated normals creates a gradient of lighting angles, producing smooth pixel-by-pixel shading.
- A
- 55
How does the movement of the sun affect a shaded object in a game?
- A
The object's geometry is automatically reduced as the sun moves
- B
The Z-buffer changes all sunlit pixels to the same depth
- C
The rasterizer replaces the object's material with a new mesh
- D
Changing the sun's direction changes the object's illumination over time
Correct answer
DChanging the sun's direction changes the object's illumination over time
Explanation
As the sun changes position, the light direction relative to surface normals changes, altering the object's shading.
- A
- 56
What mathematical operation can be used to calculate the cosine between a light direction and a surface normal?
- A
The sum of the vectors' coordinates divided by the triangle area
- B
The cross product multiplied by the camera's field of view
- C
The dot product divided by the product of the vectors' norms
- D
The difference between the vectors' depths multiplied by light intensity
Correct answer
CThe dot product divided by the product of the vectors' norms
Explanation
For vectors, the cosine of the angle between them is found using the dot product divided by the product of their norms.
- A
- 57
Which mathematical tools are directly relevant to the transformations used in 3D graphics?
- A
Number theory and abstract algebra only
- B
Thermodynamics and fluid mechanics
- C
Linear algebra and matrix mathematics
- D
Probability theory and statistical sampling only
Correct answer
CLinear algebra and matrix mathematics
Explanation
Coordinate transformations are performed with matrices, making linear algebra and matrix mathematics directly relevant.
- A
- 58
Which mathematical areas are especially relevant to calculating lighting angles and 3D geometry?
- A
Organic chemistry, geology, and thermodynamics
- B
Vector calculus, trigonometry, and three-dimensional geometry
- C
Classical literature, linguistics, and economics
- D
Circuit design, accounting, and population biology
Correct answer
BVector calculus, trigonometry, and three-dimensional geometry
Explanation
Vectors and angles are central to lighting calculations, while trigonometry and 3D geometry support the representation of surfaces and directions.
- A
- 59
What is ray tracing primarily used to produce in the context described?
- A
The storage of one depth value for each display pixel
- B
Highly detailed lighting, shadows, and reflections
- C
The basic transformation of every vertex into screen coordinates
- D
The interpolation of vertex normals across a rasterized triangle
Correct answer
BHighly detailed lighting, shadows, and reflections
Explanation
Ray tracing is used for detailed and accurate lighting and reflection effects, including shadows in some games.
- A
- 60
Why is ray tracing traditionally difficult to use for real-time video games?
- A
A single highly detailed frame can require dozens of minutes or more to render
- B
Ray tracing requires every object to contain exactly one triangle
- C
Ray tracing works only on two-dimensional images without geometry
- D
Ray tracing cannot calculate reflections or shadows in a 3D scene
Correct answer
AA single highly detailed frame can require dozens of minutes or more to render
Explanation
The content contrasts ray tracing's high visual accuracy with its potentially very long rendering time for a single frame.
- A
- 61
How is ray tracing commonly integrated into the described game rendering approach?
- A
Ray tracing is used only to calculate the camera's field of view
- B
Ray tracing replaces all vertex shading, rasterization, and fragment shading in every game
- C
The main pipeline handles primary visibility and shading, while ray tracing may improve shadows, reflections, and lighting
- D
Ray tracing converts every triangle directly into a texture before vertex processing
Correct answer
CThe main pipeline handles primary visibility and shading, while ray tracing may improve shadows, reflections, and lighting
Explanation
Games generally use the rasterization-based pipeline for primary rendering and may use ray tracing for selected lighting, shadow, or reflection effects.
- A
- 62
What does DLSS do?
- A
It calculates the depth of every triangle using a Z-buffer
- B
It transforms model-space vertices into world-space coordinates
- C
It uses a convolutional neural network to upscale a low-resolution frame to 4K
- D
It distributes lighting calculations among the triangle's three vertices
Correct answer
CIt uses a convolutional neural network to upscale a low-resolution frame to 4K
Explanation
DLSS takes a lower-resolution rendered frame and uses a convolutional neural network to produce a 4K output.
- A
- 63
When is DLSS applied in the sequence described?
- A
Before any vertices are transformed from model space
- B
Before the scene's geometry and camera position are known
- C
During rasterization before the GPU identifies covered pixels
- D
After the graphics pipeline and ray tracing have produced a low-resolution frame
Correct answer
DAfter the graphics pipeline and ray tracing have produced a low-resolution frame
Explanation
DLSS is executed after the graphics pipeline and ray tracing generate a lower-resolution frame that can then be upscaled.
- A
- 64
Which GPU resources are associated with the three major processing tasks described?
- A
Tensor cores for rasterization, shading cores for DLSS, and ray-tracing cores for texture storage
- B
Shading cores for frame storage, Tensor cores for camera movement, and ray-tracing cores for color selection
- C
Ray-tracing cores for vertex shading, Tensor cores for visibility, and shading cores for display scanning
- D
Shading or CUDA cores for rendering, ray-tracing cores for ray tracing, and Tensor cores for DLSS
Correct answer
DShading or CUDA cores for rendering, ray-tracing cores for ray tracing, and Tensor cores for DLSS
Explanation
The content assigns the graphics pipeline to CUDA or shading cores, ray tracing to ray-tracing cores, and DLSS to Tensor cores.
- A
- 65
What is the performance advantage of using ray tracing and DLSS together on a modern GPU?
- A
They guarantee that every scene uses fewer triangles than a basic rasterized scene
- B
They eliminate all geometric calculations so that no vertices need to be processed
- C
They make the Z-buffer unnecessary by storing all visibility information in the neural network
- D
They can use separate computational resources while enabling high-resolution frames to render quickly
Correct answer
DThey can use separate computational resources while enabling high-resolution frames to render quickly
Explanation
Separate GPU architectures can run the rendering pipeline, ray tracing, and DLSS concurrently, allowing high-quality output with lower effective rendering cost.
- A
- 66
According to the described comparison, approximately how long might a frame take using only CUDA or shading cores?
- A
Approximately 1 millisecond
- B
Approximately 50 milliseconds
- C
Approximately 8.3 milliseconds
- D
Approximately 120 milliseconds
Correct answer
BApproximately 50 milliseconds
Explanation
The content states that relying solely on CUDA or shading cores could make a frame take around 50 milliseconds.
- A
- 67
What rendering time is associated with the high-end ray tracing and DLSS example?
- A
Several minutes per frame in all cases
- B
Less than 10 milliseconds per frame
- C
Around 50 milliseconds per frame
- D
Around 120 milliseconds per frame
Correct answer
BLess than 10 milliseconds per frame
Explanation
The example states that using ray tracing and DLSS with separate GPU resources can produce frames in less than 10 milliseconds.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.