WebGL programming involves coding with HTML5, Javascript, webGL API, and
__________
in the shaders. - ANSWER GLSL
The graphics pipeline involves a series of coordinate transformations. Fill in the
missing steps
in the pipeline.
object/model
→ ___________
→ ___________
NDC(Normalized Device Coordinates)
→window - ANSWER eye coordinates
clip coordinates
What are the three primitives available in WebGL? - ANSWER point
line
triangle
What are the three methods for drawing triangles? (Specified as the first parameter
in
drawArrays().) - ANSWER triangles
triangle_strip
triangle_fan
A WebGL program must have two shaders. What are the names of these shaders? -
ANSWER vertex shader
fragment shader
As vertices leave the vertex shader, they must live within a normalized volume to be
rasterized.
Define this volume. - ANSWER 2D
__________
in the shaders. - ANSWER GLSL
The graphics pipeline involves a series of coordinate transformations. Fill in the
missing steps
in the pipeline.
object/model
→ ___________
→ ___________
NDC(Normalized Device Coordinates)
→window - ANSWER eye coordinates
clip coordinates
What are the three primitives available in WebGL? - ANSWER point
line
triangle
What are the three methods for drawing triangles? (Specified as the first parameter
in
drawArrays().) - ANSWER triangles
triangle_strip
triangle_fan
A WebGL program must have two shaders. What are the names of these shaders? -
ANSWER vertex shader
fragment shader
As vertices leave the vertex shader, they must live within a normalized volume to be
rasterized.
Define this volume. - ANSWER 2D