You are viewing the course site for a past offering of this course. The current offering may be found here.
Lecture 4: Transforms (100)
GuardHei

Most of the time, we can pre-multiply matrix Model_View_Projection together as matrix_MVP. Then call mul(matrix_MVP, object_space_position). This can reduce the number of matrix mul required. On modern GPUs, this is commonly done in the vertex shader, outputting projection space position of a vertex. Then, the hardware will automatically interporlate among the triangle vertices, and do the z-div for you to convert into NDC space.

You must be enrolled in the course to comment