Skip to content

amoldhamale1105/MyOpenGLApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGLApp

A graphical app with 3D models generated natively and imported externally using OpenGL
The project is configured with cmake build system
Generated with the OpenGL base public template (https://github.com/amoldhamale1105/OpenGLBase.git)
Currently linked with the glew, glfw and glm libraries
Please note that the glew and glfw libs are linked statically and thus necessitate installation in the /usr dir beforehand through their source code. Please refer to the CMakeLists.txt for a better understanding

Build instructions

Run cmake .. from the build dir or reconfigure all if loaded in VSCode
Run make or build all if loaded in VSCode
The generated binary must be present in the bin dir on a successful build

Output

The following scene should be visible in a window if the generated binary runs successfully with all its dependencies
Navigate the scene with keys A, W and D and the mouse for looking around
A spotlight can be turned on for fun with the key L to test reflections and omnidirectional shadows

MyOpenGLApp_view1 MyOpenGLApp_view2 MyOpenGLapp_view3 MyOpenGLApp_view4