Ray Tracing Basics
- 71Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
71 questions
- 1The speaker previously experimented with_____matching, which is related to ray tracing.
Hint
Think about a technique that involves sending out 'beams' but in a different way than traditional ray tracing.
Answer
Ray
- 2The project is being built inside a game engine to leverage its convenience for scene_____and object manipulation.
Hint
The engine provides a visual space to arrange elements.
Answer
view
- 3To ensure accurate comparison, the custom ray tracer must render things with the same_____as the built-in game camera.
Hint
Consider the viewpoint from which the scene is observed.
Answer
perspective
- 4The height of the projection plane is calculated using the field of view and_____.
Hint
This mathematical branch deals with relationships between angles and sides of triangles.
Answer
trigonometry
- 5After calculating the projection plane's dimensions, a grid of points is generated and transformed to match the camera's position and_____.
Hint
This refers to the camera's rotational alignment.
Answer
orientation
- 6The 'Ancient Greek style' approach in ray tracing involves shooting light beams out of our_____.
Hint
This is a conceptual reversal of how light actually travels in reality.
Answer
eyes
- 7The vast majority of light emitted from sources will_____our eyes in reality, making a direct simulation highly inefficient.
Hint
Consider the probability of random light rays actually reaching the observer.
Answer
miss
- 8Only rays that end up at a_____source can contribute to the image in the ray tracing process.
Hint
These are the objects that emit illumination.
Answer
light
- 9Sending out millions of rays is a task well-suited for the_____, which handles parallel processing efficiently.
Hint
This hardware component is optimized for graphics processing.
Answer
GPU
- 10The Ray Tracing Manager script sends camera information to a_____which then runs and draws the results.
Hint
This program runs on the GPU and determines the color of each pixel.
Answer
Shader
- 11The coordinate of the_____pixel is a vital piece of information used by the shader.
Hint
Each individual point being rendered on the screen has its own unique position.
Answer
current
- 12Returning the x-coordinate from the shader results in a horizontal_____from 0 on the left to 1 on the right.
Hint
This is a smooth transition of color or intensity.
Answer
gradient
- 13A ray structure holds an origin point and a_____.
Hint
These two components define a line in space.
Answer
direction
- 14Visualizing ray directions as colors, looking along the positive X direction should make things appear more_____.
Hint
Think of the standard RGB color mapping for XYZ axes.
Answer
red
- 15The equation for a sphere centered at zero is x2+y2+z2=radius2, meaning the squared length of a vector equals the squared_____.
Hint
This is the distance from the center to any point on the sphere's surface.
Answer
radius
- 16If the part under the square root in the sphere intersection equation is negative, the ray has_____the sphere.
Hint
A negative value under a square root for real numbers indicates no solution.
Answer
missed
- 17If the part under the square root is zero, the ray_____the sphere at just one point.
Hint
This signifies a tangential interaction.
Answer
touches
- 18If the part under the square root is positive, the ray_____the sphere at two points.
Hint
This implies crossing through the object.
Answer
intersects
- 19The normal vector indicates the direction that would be '_____' if you were standing on the surface.
Hint
This vector is perpendicular to the surface at a given point.
Answer
up
- 20To handle spheres at different positions, the technique used is to conceptually keep the sphere centered at zero and just move the_____away instead.
Hint
This is a common mathematical simplification to standardize calculations.
Answer
ray
- 21The_____
RayTracingMaterialstructure currently just describes theof an object.Hint
This attribute determines the visible appearance.
Answer
color
- 22The_____
Spherestructure holds a position, radius, and.Hint
This refers to the object's surface properties.
Answer
material
- 23The_____
rayCollisionfunction loops over every sphere and performs antest.Hint
This test determines if the ray crosses the sphere.
Answer
intersection
- 24If a material is very smooth, a ray might bounce off it with the same angle going out as it had coming in, which is called a_____reflection.
Hint
This type of reflection is associated with shiny, mirror-like surfaces.
Answer
specular
- 25If a material is rough, incoming light could scatter out in any direction, which is known as a_____reflection.
Hint
This type of reflection is associated with matte or non-shiny surfaces.
Answer
diffuse
- 26The pixel index, a value from 0 up to the total number of pixels, can be used as a_____to generate pseudo-random numbers.
Hint
This initial value starts a sequence of seemingly random numbers.
Answer
seed
- 27To generate multiple random values per pixel, an_____
inoutargument type can be used to apply changes to the originalvalue.Hint
This ensures the random number generator's state updates with each call.
Answer
seed
- 28Generating three random values scaled between -1 and 1 creates a point inside a_____, which is then normalized if it falls within a sphere.
Hint
This geometric shape encloses the sphere.
Answer
cube
- 29A potential issue with_____
while(true)loops for generating random points is gettinginside, leading to crashes or visual glitches.Hint
This implies an infinite loop, preventing the program from progressing.
Answer
stuck
- 30Using uniform random numbers means every value has an_____chance of appearing.
Hint
This describes a flat distribution.
Answer
equal
- 31Using random numbers in a_____distribution helps distribute points uniformly randomly over the surface of a sphere.
Hint
This bell-shaped distribution is common in statistics.
Answer
normal
- 32When a ray hits a surface, it picks a random direction in the_____oriented around the normal vector.
Hint
This is half of a sphere, indicating directions 'above' the surface.
Answer
hemisphere
- 33If the dot product between the normal vector and the random direction is negative, the random direction is_____to be in the correct hemisphere.
Hint
This action reverses the direction of the vector.
Answer
inverted
- 34The_____
tracefunction takes the ray from the camera and traces its path as it bounces randomly through the scene, hoping to reach asource.Hint
This is the ultimate goal for illuminating a pixel.
Answer
light
- 35The ray's path tracing continues until either the maximum_____limit is reached or the ray misses everything.
Hint
This limits how many times the ray can reflect.
Answer
bounce
- 36The_____
rayColorvariable starts as pureand is multiplied by the object color whenever the ray hits something.Hint
This represents the initial absence of any color absorption.
Answer
white
- 37The_____
lightvariable accumulates the emitted light from objects and is tinted based on theof all objects the ray has encountered.Hint
This ensures the light reflects the path it has taken.
Answer
color
- 38The core of the shader calculates a_____for random numbers, creates a ray, and traces its path to determine the pixel's color.
Hint
This is the starting point for generating random sequences.
Answer
seed
- 39A light source object's material has its_____
emission colorset to black andemission strengthincreased, so it is onlylight, not reflecting it.Hint
This is the act of giving off light.
Answer
emitting
- 40With the_____
bounce limitset to one, the ray from the camera must hit an object and then bounce directly into ato be illuminated.Hint
This implies a single reflection directly towards an emitter.
Answer
light
- 41Increasing the_____
bounce limitallows the back sides of spheres to receiveillumination.Hint
This refers to light that reaches a surface after reflecting off other surfaces.
Answer
indirect
- 42The main problem with a single ray per pixel is that the image is extremely_____.
Hint
This refers to unwanted visual speckles or graininess.
Answer
noisy
- 43To reduce noise, the shader loops multiple times, sending out many rays per pixel, and then_____their contributions.
Hint
This mathematical operation combines multiple values to find a representative central value.
Answer
averages
- 44To improve quality over time without slowing down the editor, results are_____over multiple frames.
Hint
This method combines current and previous frame data to smooth out noise.
Answer
averaged
- 45For temporal averaging, the random number_____needs to change with each frame to ensure rays bounce differently.
Hint
This input to the random number generator must vary for new sequences.
Answer
seed
- 46When a ray misses everything, the_____
tracefunction now gathers some kind of backgroundlighting instead of just going into a void.Hint
This light comes from the surrounding scene, not specific objects.
Answer
environment
- 47The background lighting function blends between a ground color and two sky colors based on the_____axis of the ray direction.
Hint
This typically refers to the Y or Z axis in a 3D coordinate system.
Answer
vertical
- 48A beam of light coming in at an angle to the surface will be more_____out, meaning overall light received will be weaker.
Hint
This relates to how the energy is distributed over an area.
Answer
spread
- 49The strength of light received is calculated as the_____of the angle between the surface normal and the direction towards the light.
Hint
This trigonometric function accounts for the angle of incidence in Lambertian reflection.
Answer
cosine
- 50To keep the brightness the same after applying the cosine rating, the_____
rayColoris multiplied by.Hint
This is a simple scaling factor to counteract the darkening effect.
Answer
two
- 51Removing the_____
light strengthcalculation is possible by using a cosinedistribution for random bounce directions.Hint
This means directions with more light contribution are favored.
Answer
weighted
- 52From humble_____, one can build pretty much whatever 3D model is desired.
Hint
These are the fundamental building blocks of most 3D meshes.
Answer
triangles
- 53To optimize triangle intersection, the ray quickly tests if it intersects the object's_____box before looking at all individual triangles.
Hint
This is a simple, usually axis-aligned, volume enclosing the object.
Answer
bounding
- 54The test scene for triangles is described as a 'classic Cornell_____', a common setup for lighting tests.
Hint
This enclosed room typically has colored walls and a light source.
Answer
box
- 55To make the room completely enclosed but still visible, a_____mesh is used for the front wall so it's invisible from the backside.
Hint
This refers to a four-sided polygon, often rendered as two triangles.
Answer
quad
- 56After setting the ceiling as a light source, the_____
Majestic nightgradually emerges from the.Hint
This refers to the grainy appearance before enough samples are rendered.
Answer
noise
- 57Specular reflections occur on very_____surfaces, like a mirror, where light bounces off perfectly.
Hint
This describes the texture of a surface that reflects light cleanly.
Answer
smooth
- 58The perfect reflection direction can be calculated based on the normal vector and the_____direction.
Hint
This refers to the direction the light ray is traveling before it hits the surface.
Answer
incoming
- 59The ray's new direction blends from diffuse to specular based on the_____property of the material.
Hint
This material attribute determines how much light is reflected versus scattered.
Answer
smoothness
- 60Setting a low smoothness value results in very_____reflections, while a high value creates crisp, mirror-like reflections.
Hint
Think about how rough surfaces scatter reflections.
Answer
blurry
- 61When two fully reflective balls are opposite each other, they create_____reflections within each other.
Hint
This phenomenon occurs when reflections are endlessly nested.
Answer
infinite
- 62The_____highlights on a red tomato are white (or the color of the light) because they bounce off a transparent protective coating.
Hint
These are the bright spots seen on shiny surfaces.
Answer
specular
- 63The_____
specular probabilityin the material determines if the ray should bounce off some imaginary.Hint
This refers to an outer, often transparent, layer.
Answer
coating
- 64The_____
specular coloris typically leftmost of the time for the coating effect.Hint
This ensures the reflections are untinted.
Answer
white
- 65Depth of field allows choosing a_____at which things appear in focus, with objects outside that distance appearing blurry.
Hint
This parameter defines the plane of sharpest focus.
Answer
distance
- 66To create blur, rays for each pixel need to_____a little bit, heading out in slightly different directions.
Hint
This means to spread apart from a common point.
Answer
diverge
- 67To randomly nudge the viewpoint, a random point needs to be generated inside a_____.
Hint
This shape represents the aperture of a camera lens.
Answer
circle
- 68The square root of a random value is used to ensure points_____out nicely inside the circle, rather than clustering towards the center.
Hint
This mathematical operation helps achieve a uniform distribution.
Answer
spread
- 69Randomly offsetting the ray origin instead of the viewpoint causes the rays to all_____on the focal plane.
Hint
This means to come together at a single point.
Answer
converge
- 70If a model moves past the_____plane, it will start getting blurry again.
Hint
This is the plane of sharpest focus.
Answer
focal
- 71Setting the blur strength extremely low helps to smooth out_____edges, providing anti-aliasing.
Hint
These are staircase-like artifacts on diagonal lines.
Answer
jaggedy

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