Skip to content

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

License

Notifications You must be signed in to change notification settings

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: [email protected]

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

No packages published

Contributors 2

  •  
  •  

Languages