/pixeldancer-opengl

Library for OpenGL graphic programming api

Primary LanguageC++

PixelDancer-OpenGL

PixelDancer is a project to create libraries for OpenGL, Vulkan and DirectX graphic programming api s. PixelDancer-OpenGL is a library for OpenGL graphic programming api.

  • Project is ongoing therefore files can be changed. If you have problem in headers, examples or shaders please check files again.
  • I am working on new library.

Before Using

You have to have this packages to be included

  • DearImGui
  • Glad
  • GLM
  • GLFW
  • assimp
  • Stb-image

DO NOT FORGET TO INCLUDE glad.c FILE TO YOUR PROJECT

Usage of Examples

You can use them as main file but for pbr_cerberus.cpp file you have to download cerberus model (You can reach with this http://www.artisaverb.info/PBT.html link.). After you download it create objects file in data file and place model under cerberus filename in objects file.

Final data file should be like this:

data
|----->textures
|----->objects
           |----->cerberus
                      |----->Textures
                      |----->Cerberus_LP.fbx


After the steps you can use pbr_cerberus.cpp file as main file.

When using pbr_cerberus and shadow examples you have to comment 160, 161 and 162 lines in window.h file. If you are going to use DearImGui in your projects you have to uncomment them. (Shockwave example is using DearImGui.)

Some Output of Examples

PBR Cerberus

pbr_model

Shockwave

shockwave.mp4

References

Vries J.(2020). Learn OpenGL: Learn modern OpenGL graphics programming in a step-by-step fashion(1st ed.). Kendall & Welling.
Wolff D.(2018). OpenGL 4 Shading Language Cookbook(3rd ed.). Packt Publishing.
Ben Cloward's Youtube Tutorials. https://www.youtube.com/user/bcloward
CgShow's Youtube Tutorials. https://www.youtube.com/user/asif786ali1