i need 1 correction: the screen only use 2D(X, Y) and not 3D(X, Y, Z)... so how can i create the perspective?
is these math correct:
PosX2D = PosX3D /(FocalDistance+PosZ3D);
PosY2D = PosY3D /(FocalDistance+PosZ3D)
?
i have seen several tutorials and seems that they have their own Perspective.
understand these, i can create my own polygon and move front-back, and left-right.
Hello All! I've tried to extract code for obtaining inverse matrix from here But I failed;) - It's to complex for me. Is there any other respected resources/libraries? O may be somebody has quality code examples for matrix arbitary size? THANKS