A neat little ornament, written in C/C++ with SFML, OpenGL3. Inspired by: https://github.com/anvaka/atree
- Working C/C++ compiler
- Make
- SFML
- cglm
- OpenGL 3.2 support
Run 'make' and then './christmas_tree'.
Press 'q' to quit.
- Only tested on Linux
- Defaults to 1280x800 window and is V-sync'd (not verified)
- Probably lots of room to optimize for lower powered platforms
- https://github.com/anvaka/atree
- 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