Looking for CMPT 370 A - Computer Graphics (SP 2025) test answers and solutions? Browse our comprehensive collection of verified answers for CMPT 370 A - Computer Graphics (SP 2025) at learn.twu.ca.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
What is described by the following?
We render into the back buffer that is not displayed. Subsequently, there is a buffer swap between the back buffer and the front buffer. An image will be displayed from the front buffer.
The following code will cause stack overflow problems as the recursive calls pile up. What function can be used to solve this problem?
var thetaLoc = gl.getUniformLocation(program, ”uTheta")
function render(){ gl.clear(gl.COLOR_BUFFER_BIT); uTheta += 0.1; gl.uniform1f(thetaLoc, uTheta); gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4); render();}
Which is NOT one of the six types of logical input defined in APIs of GKS/PHIGS?
Which is NOT part of the "initShaders" function?
Who invented the first mouse?
Which is NOT one of the three methods that identify objects on the display?
What is described by the following?
This function triggers a buffer swap. This executes a function after a specified number of milliseconds. If we set a 0 value for the second parameter, it will generate buffer swaps as fast as possible (but may cause stack overflow). This function is used for our rotating square example.
The Sierpinski Gasket starts with a triangle. It connects bisectors of sides and removes the central triangle. This same process repeats.
After four subdivisions, which triangles of the following will be rendered? (One subdivision is the original triangle (one triangle) itself.)
Which is the worst triangle to render?
Which is NOT one of the convex polygons?