opentk / LearnOpenTK

A port of learnopengl.com's tutorials to OpenTK and C#.
Creative Commons Attribution 4.0 International
465 stars 115 forks source link

If the initial angle is too large, the object will deform when moving. #52

Closed Sambergershen closed 3 years ago

Sambergershen commented 3 years ago

If the initial angle of the FOV is too large, the object will deform when moving.

NogginBops commented 3 years ago

Even with a π/4 vertical FOV there will be slight distortion, this is simply a fact of the linear perspective projection. Having a π/2 radians vertical FOV is pretty standard in a lot of games, and most of the time lowering the FOV is not a workable solution. There are ways to reduce the amount of visible distortion using other types of projections, for example panini projections. In fps games you sometimes render the weapon using a separate FOV to avoid this distortion.

Here are some links for reference: https://docs.unrealengine.com/en-US/RenderingAndGraphics/PostProcessEffects/PaniniProjection/index.html http://imaginaryblend.com/2018/10/14/weaponfovnews/ http://strlen.com/gfxengine/fisheyequake/compare.html

Sambergershen commented 3 years ago

Thank you for your reply, I learned a lot.