Files
OpenGL_Intro/report/task2.md
2025-08-30 15:06:29 +02:00

726 B

Task 2

a)

What is the name of this phenomenon?

Clipping

When does it occur?

It occurs when some part of an object is outside the clipping volume which is a 2x2x2 cube at the origin with coordinate values ranging from -1 to 1. Since the z coordinate for v0 and v1 is 1.2 and -1.2, whic is outside this range, the triangle is clipped by the vertex shader and the part which sticks out is not rendered. The two corners have essentially been clipped off by the clip box.

What is its purpose?

The clip box ensures that objects behind the camera and generally when geometry exceeds the bounds of the screen.

b)

What happens?

Why does it happen?

What is the condition under which this effect occurs?