KaperD / mse-gl-hw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build_cmake_status

ITMO MSE OpenGL homework template 2022

Qt based demo project to demonstrate how to use and implement basic 3D graphics features. No optimizations exists. Use only for educational purposes.

Purposes

Help students with their submission is the main goal of this repository. Do not use this code in production!!!

Requirements

Hardware requirements

  • GPU with OpenGL 3+ support.

Build from console

  • Clone this repository git clone <url> <path>;
  • Go to root folder cd <path-to-repo-root>;
  • Create and go to build folder mkdir -p build-release; cd build-release;
  • Run CMake cmake .. -G <generator-name> -DCMAKE_PREFIX_PATH=<path-to-qt-installation> -DCMAKE_BUILD_TYPE=Release;
  • Run build. For Ninja generator it looks like ninja -j<number-of-threads-to-build>.

Build with MSVC

  • Clone this repository git clone <url> <path>;
  • Open root folder in IDE;
  • Build, possibly specify build configurations and path to Qt library.

Run and debug

  • Since we link with Qt dynamically don't forget to add <qt-path>/<abi-arch>/bin and <qt-path>/<abi-arch>/plugins/platforms to PATH variable.

About

License:MIT License


Languages

Language:C++ 84.8%Language:CMake 13.9%Language:GLSL 1.3%