Skip to content

zirkoni/ZFX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

173 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZFX

ZFX is a small OpenGL graphics library written in C++ I made to learn some OpenGL basics. I followed the guides from learnopengl.com but I did not use all the same libraries or make the examples exactly the same.


ZFX supports (for example)

  • FreeType font rendering
  • Basic lighting
  • Framebuffers
  • MSAA
  • Loading OBJ models via tinyobjloader
  • Instancing

A simple demo application (zfx_demo) is included.


Screenshots


Build Instructions

Dependencies

Make sure the following libraries are installed:

  • SDL2
  • SDL2_Image
  • GLEW
  • GLM
  • FreeType2
  • OpenGL

Arch Linux example

sudo pacman -S --needed base-devel cmake glew glm freetype2 sdl3 sdl2-compat sdl2_image

Compiling

git clone https://github.com/zirkoni/ZFX.git
cd ZFX
make

This will compile the demo program. To run it:

./build/Demo/zfx_demo

You can also clean the project:

make clean

About

Learning OpenGL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages