Question: Question 16 1 points Save Ang _ if all points on the line segment between any two points inside the object, or on its boundary,

 Question 16 1 points Save Ang _ if all points onthe line segment between any two points inside the object, or onits boundary, are inside the object. Question 17 Which of the followingcode segment will make the window solid and red? O gl.clearColor(0.0, 0.0,1.0, 1.0); g1.clear(gl.COLOR_BUFFER_BIT); gl.clearColor(1.0, 0.0, 0.0, 1.0); g1.clear(g1.COLOR_BUFFER_BIT); gl.clearColor(0.0, 0.0.0.0, 1.0); g1.clear(gl.COLOR_BUFFER_BIT);

Question 16 1 points Save Ang _ if all points on the line segment between any two points inside the object, or on its boundary, are inside the object. Question 17 Which of the following code segment will make the window solid and red? O gl.clearColor(0.0, 0.0, 1.0, 1.0); g1.clear(gl.COLOR_BUFFER_BIT); gl.clearColor(1.0, 0.0, 0.0, 1.0); g1.clear(g1.COLOR_BUFFER_BIT); gl.clearColor(0.0, 0.0.0.0, 1.0); g1.clear(gl.COLOR_BUFFER_BIT); o gl.clearColor(0.0, 0.0.0.0, 0.0); g1.clear(gl.COLOR_BUFFER_BIT); o gl.clearColor(0.0, 1.0, 0.0, 1.0); g1.clear(gl.COLOR_BUFFER_BIT); Question 18 1 points Save Answer A viewport is a rectangular area of the display window. By default, it is the entire window, but it can be set to any smaller size in pixels via the function gl.viewport. In following function call, what is the width of the viewport? gl.viewport(1, 2, 3, 4); 0 0 0 0 Question 19 Consider a minimum GLSL fragment shader: precision mediump float; void main({ gl_FragColor = vec4(1.0.0.0, 0.0, 1.0); This shader will make the displayed point translucent. True False Question 20 Select code that will be put into a simple render function that will display a sequence of triangles. gl.clear(gl.COLOR_BUFFER_BIT); gl.drawArrays(gl.POINTS, O, numPoints); gl.drawArrays(gl.TRIANGLES, O, numvertices); gl.drawArrays(gl.LINES, O, numVertices) points.push(a)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!