The Z axis is usually used for depth, so it’s going to be perpendicular to whatever your frame of reference (i.e. projection plane) is.
If it’s upright in space, like a computer screen, the Z axis will be horizontal. If it’s a sheet of paper on a desk, then yes, I suppose it could be argued to be vertical instead.
Isn’t the Z axis vertical?
Not in bistromath.
Indeed, a common mistake for newcomers to the field.
I’ve definitely seen Z as the forward/backward axis before
It’s typically vertical, but you can name your variables however you want.
The Z axis is usually used for depth, so it’s going to be perpendicular to whatever your frame of reference (i.e. projection plane) is.
If it’s upright in space, like a computer screen, the Z axis will be horizontal. If it’s a sheet of paper on a desk, then yes, I suppose it could be argued to be vertical instead.