A neat little ornament, written in C with SDL2, OpenGL3. Inspired by: https://github.com/anvaka/atree
- Working C compiler
- Make
- SDL2
- cglm
- OpenGL 3.2 support
Run 'make' and then './christmas_tree'.
Press 'q' to quit.
- Only tested on Mac/Linux
- Defaults to 1280x800 window and is V-sync'd
- Probably lots of room to optimize for lower powered platforms
- https://github.com/anvaka/atree
- http://headerphile.com/sdl2/opengl-part-1-sdl-opengl-awesome/
- https://www.3dgep.com/understanding-the-view-matrix/#The_View_Matrix
- https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/opengl-perspective-projection-matrix
- https://solarianprogrammer.com/2013/05/22/opengl-101-matrices-projection-view-model/
- https://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/#transformation-matrices