Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.96 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.96 KB

GLFWx32-GLEWx32-GLM-1

Screenshot

Basic example OpenGL application for Visual Studio 2022 that loads an OBJ file from pathOBJ and displays it using shaders specified by pathVShader and pathFshader using perspective projection and slow model rotation.

User can press escape to quit the appliction, and re-sizing the window resizes the perspective projection so it diplays without distortion regardless of window size.

dependencies

In order to compile, this application assumes assumes:

  1. you have GLFW, GLEW, and GLM installed at C:GL
  2. you copied glew32.dll to the same directory as main.cpp

If you'd like to install those from scratch:

  1. follow the Downloading GLFWx32, GLEWx32, and GLM instructions from the project setup reference
  2. copy glew32.dll from C:\GL\GLEW\bin\Release\Win32 to your project folder (the same directory as main.cpp)

author

david aloka d@preform.io, copyright 2022

history

2022.02.19 12:50

2022.02.19 00:25

2022.02.19 00:25