Currently browsing tag

reshaping

2. OpenGL Window Reshaping (Version 2.0)

OpenGL Window Reshaping Tutorial PreviewRe-shaping a window with an OpenGL context can cause undesired scaling if not done correctly. If you wish to learn how to fix this, then this tutorial is for you. Learn how to setup your projection matrix with a viewing angle and both near and far planes.