Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mateuszitelli/opengl-studies
OFF models loading, normals calculation, Phong Ilumination and Shading implementations.
https://github.com/mateuszitelli/opengl-studies
Last synced: about 1 month ago
JSON representation
OFF models loading, normals calculation, Phong Ilumination and Shading implementations.
- Host: GitHub
- URL: https://github.com/mateuszitelli/opengl-studies
- Owner: MateusZitelli
- License: gpl-2.0
- Created: 2015-08-07T21:25:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-16T21:34:49.000Z (over 9 years ago)
- Last Synced: 2024-04-15T22:34:14.364Z (9 months ago)
- Language: C++
- Size: 5.37 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# opengl-studies
> OFF models loading, normals calculation, Phong ilumination and Shading implementation, simple gemometric shader and much more.Compile and run to get an image of a fantastic blue plastic beetle like this:
![Phong](https://raw.githubusercontent.com/MateusZitelli/opengl-studies/master/gifs/phong.gif)
Or using another shader available in the ```Config.h``` you can view the normals in the model:
![Normals](https://raw.githubusercontent.com/MateusZitelli/opengl-studies/master/gifs/normals.gif)
## How to build and run
Just run ```make -j 5``` to build the program and then ```./main``` to run it.