Closed MortenSorensenNOR closed 2 weeks ago
A module that does clipping in clip-space is needed to ensure that triangles are within the view frustum.
A vertex is within the view frustum (or camera frustum) if
For now it is sufficient to only disregard triangles that include vertexes with z values not contained within the view frustum (i.e. 0 < z < w).
A module that does clipping in clip-space is needed to ensure that triangles are within the view frustum.
A vertex is within the view frustum (or camera frustum) if
For now it is sufficient to only disregard triangles that include vertexes with z values not contained within the view frustum (i.e. 0 < z < w).