https://github.com/haxpor/lazyfoo-opengl2c
Opengl 2.1 with few tutorial of 3.3 later in the series in C following tutorials from lazyfoo but with SDL2, added improvement and few more features if possible
https://github.com/haxpor/lazyfoo-opengl2c
c opengl opengl2 opengl3 opengl3-0 sdl2
Last synced: about 2 months ago
JSON representation
Opengl 2.1 with few tutorial of 3.3 later in the series in C following tutorials from lazyfoo but with SDL2, added improvement and few more features if possible
- Host: GitHub
- URL: https://github.com/haxpor/lazyfoo-opengl2c
- Owner: haxpor
- License: mit
- Created: 2018-12-14T17:25:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-13T13:12:44.000Z (over 6 years ago)
- Last Synced: 2025-04-12T04:09:45.434Z (about 2 months ago)
- Topics: c, opengl, opengl2, opengl3, opengl3-0, sdl2
- Language: C
- Homepage:
- Size: 810 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-OTHERS
Awesome Lists containing this project
README
# lazyfoo-opengl2c
C implementation of OpenGL tutorial (v.2.1 - 3.3) by Lazyfoo but with SDL2, improvement and added features if possible.
> Original tutorial is based up to 3.1, but I target 3.3.
# Approach
The approach of coding for each tutorial sample will be the same as I did in [lazyfoo-sdl2c](https://github.com/haxpor/lazyfoo-sdl2c) in which each sample directory is self-contained, no reference to external reuseable source file in another directory. But those reuseable source file will be updated / added more features in recent sample directory.
So more recent sample directory has more complete or per say latest source of such reuseable system.
At the end I might combine all those reuseable system spanning in multiple source files together.
Directory with name `_extra_...` is the extra additional on top of the same topic of tutorial.
# How to build
Execute `make` at the root directory to build all samples.
Execute `make` at each of sample directory to build only for that sample.
As well you can `make clean` at both root, or specific sample directory to clean all built files for all samples or specific sample respectively.
# Credits Author
This project is based on the work of Lazyfoo. See _License_ section for more information about rights to use code in this project.
# Credits
* Minecraft font by Craftron Gaming on dafont.com - [link](https://www.dafont.com/minecraft.font)
* 8bit Wonder font by Joiro Hatgaya on dafont.com - [link](https://www.dafont.com/8bit-wonder.font)# License
* As stated in http://lazyfoo.net/contact.php, the rights of this derived works (code and assets) still belong to Lazyfoo otherwise noted. [LGPL](https://www.gnu.org/copyleft/lesser.html), LazyFoo, original author this repository based on.
* The code that's not based on original work is belong to me (Wasin Thonkaew) as [MIT](https://github.com/haxpor/lazyfoo-opengl2c/blob/master/LICENSE-OTHERS).
* Other additional assets are belong to what is noted in README.md file of corresponding sample.If you have an enquiry about modifying or extending the project, please contact LazyFoo [here](http://lazyfoo.net/contact.php).