Basic render 3D perspective projection onto 2D screen with camera (without opengl)
The ‘way it’s done’ is to use homogenous transformations and coordinates. You take a point in space and: Position it relative to the camera using the model matrix. Project it either orthographically or in perspective using the projection matrix. Apply the viewport trnasformation to place it on the screen. This gets pretty vague, but I’ll … Read more