I believe I have manually built a WVP column-major matrix by playing around with matrix math from scratch.
Camera position is 0,0,-10
Near plane is 1.0
Far plane = 1000.0;
Aspect ratio = 768.0 / 1024.0;
The output result is
P * V * W
1.66292 0 0 0
0 2.21723 0 0
5 5 16.002 1
0 0 -2.002 0
Firstly, does this look correct given the parameters above?If so, say a single vertex was positioned at 5,5,5 (as used in the above calculation) what would be the correct way to extract the new vertex postision?
From my understanding it should be elements 12 & 13. But these are zero for some reason.
Thanks in advance. I'm actually having fun learning this side of things more deeply
[edit]
Using an online matrix calculator, it shows the same result as my calculation (assuming I am going about it the right way).