I’m attempting to perform a perspective projection of Vector3
's onto a 2D plane via a Matrix
created with
Matrix m = Matrix.CreatePerspectiveFieldOfView((float)Math.PI / 2, 1, 1, 100)
by calling
Vector3 v2 = Vector3.Transform(v1, m)
but v1.Z
never has any bearing on v2.X
or v2.Y
; it’s as though I’m just doing an orthographic projection.
Am I doing something wrong?