- Made on MacOS Sierra
- Dependencies as in Makefile
- Use Makefile.linux for linux
- Audio / Images - from google results - not mine
- Download and Install freetype2 library from http://download.savannah.gnu.org/releases/freetype/freetype-2.6.2.tar.gz
- Download and install ftgl3 library from https://github.com/lukexi/ftgl3
- Download and Install SOIL library from http://www.lonesock.net/soil.html
- initGL and draw functions have been modified to include font rendering
- Additional camera defined for fonts in draw() which stays fixed while the original camera keeps rotating.
- Vertex shader code for rendering font is a bit different from the vertex shader code for rendering other geometry.
- FTExtrude style font rendering is used in example. Other styles can be found at: http://ftgl.sourceforge.net/docs/html/ftgl-tutorial.html
- Font can be animated and colors changed every frame.
- initGL and draw functions have been modified to include loading textures and corresponding texture shaders
- create3DTexturedObject and draw3DTexturedObject use texture buffers instead of color buffer.
- Vertex and fragment shaders for textured rendering are very different from the shaders of normal rendering.
- NOTE width and height of images used for textures should be power of 2 on some graphic cards. (beach2.png - power of two image)