Skip to content

dipanshu849/OpenGL-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Work in progress

Screenshot from 2025-10-31 09-57-57

Completed work

pic

# 1. Compile [From a directory which has 'src' directory as it direct child]
g++ src/*.cpp glad/glad.c -o prog -I./glad/ -lGL -lglfw -ldl

# 2. Run
./prog
"W, A, S, D"                    -        Move in XZ axis
Up / Down Arrows                -        Move in Y axis
Mouse                           -        Look around (Camera)
C                               -        Toggle between Phong and Gouraud shading
TO UNDERSTAND THE CODE: Start from main function [at very bottom] in src/main.cpp file              
Tested on ubuntu 23
For any query drop an email at: dipanshu849d@gmail.com

About

OpenGL classroom simulation includes shadows using poission sampling, normal mapping, spot light with square projection

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages