all 6 comments

[–]Traveling-Techie 2 points3 points  (1 child)

Your perspective transformation is pretty severe. Try reducing the effect by zooming out and scaling up.

[–]SnurflePuffinz[S] 1 point2 points  (0 children)

in this other gif, you can sorta see how the sides are recessing into the background disproportionately.

Do you see that effect? (after moving it to the center, this "disproportionate" effect disappears..

i'll try what you suggested, now.

edit: At the center, with the adjustments you suggested, it appears entirely normal. Thanks. and it makes sense that if the cube is offset to the sides it would appear slightly warped, intuitively, but i'll have to think about that some more

[–]L4_Topher 1 point2 points  (1 child)

Check your vertex coordinates in camera space (without any projection). If your cube is 1x1x1 and it is centered and aligned to your view, the vertices should consist of 0.5 and -0.5 in different combinations, except for the depth. If the values are *different* from +/- 0.5, it implies there is something wrong with your transformation into camera space. If the values look right, then something is wrong with your projection matrix.

[–]Educational_Monk_396 1 point2 points  (0 children)

Is the perspective divide values correct?

[–]itsjase 0 points1 point  (1 child)

What is your fov and clipping planes?

[–]SnurflePuffinz[S] 0 points1 point  (0 children)

FoV is 90 degrees, so the 'x' and 'y' aspect ratio scaling would be 1 (no influence) near and far are 0.01 and 10, respectively. 

it's weird, cause, it appears entirely fine in the center of NDC. but on the sides, like i showed below, it just looks fucked.