The conversation between human and AI assistant.
Write a program to show the projection of 3D objects using orthographics parallel projection..
That makes sense. So for my program, I'll be using orthographics parallel projection. Can you walk me through how I would go about creating this projection?
Sure! First, you would need to set up your viewport and projection matrix. Then, you would need to define the position and orientation of your camera, choosing a direction and up vector. Finally, you would need to transform each vertex of your 3D object using matrix multiplication to obtain the corresponding 2D projection.