Skip to content

pvinnbru/computergrafik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Graphics

Developing

The project comes preconfigured with the following libraries:

  • GLFW
  • GLM
  • ImGui
  • stb_image

To implement your own functionality you may add files to the src directory, and modify the src/App.hpp file.

To ease the implementation, we provide the following wrappers:

  • src/Image.hpp: Image loading and creation.

Resources

All resources, like shaders, imaged and models must be placed in the resources directory, to be loadable from the application.

Dependencies

  • C++ 17 compiler (Visual Studio/Clang/GCC)
  • CMake

Linux Dependencies

Linux operating also require the following packages.

Ubuntu/Debian

  • libwayland-dev
  • libxkbcommon-dev
  • xorg-dev
sudo apt install libwayland-dev libxkbcommon-dev xorg-dev

Fedora/Red Hat

  • wayland-devel
  • libxkbcommon-devel
  • libXcursor-devel
  • libXi-devel
  • libXinerama-devel
  • libXrandr-devel
sudo dnf install wayland-devel libxkbcommon-devel libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel

Build

  1. Create a build directory, where the application will be built.
mkdir build
cd build
  1. Configure the project using CMake.
cmake ..
  1. Build the project.
cmake --build .

You may be required to reexecute step 2 each time you add another file to the src directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors