An open API service indexing awesome lists of open source software.

https://github.com/blainnflareengine/blainnflareengine

Blainnflare is an MVP game engine developed as part of a course project at ITMO University.
https://github.com/blainnflareengine/blainnflareengine

directx directx12 ecs game-engine physically-based-rendering qt6

Last synced: about 1 month ago
JSON representation

Blainnflare is an MVP game engine developed as part of a course project at ITMO University.

Awesome Lists containing this project

README

          

# BlainnflareEngine

## Building the engine

To build the engine you need **CMake** and **Qt 6.9.2 msvc2022_64** installed. Cmake can be downloaded from the [official download page](https://cmake.org/download/). Qt can be downloaded from the official [Qt online installer](https://www.qt.io/development/download) or with [aqt installer](https://github.com/miurahr/aqtinstall).

Open the libs folder and run the clone_dependencies.bat.

If you want to build without the editor run with flag

-DBLAINN_EXCLUDE_EDITOR=ON

Open the project in your IDE of choice, and when generating the CMake you need to specify the flag



-DCMAKE_PREFIX_PATH="[your path to Qt]/msvc2022_64/lib/cmake"

You may possibly need to also add


-DCMAKE_POLICY_VERSION_MINIMUM=3.5

## Profiler


This project uses Tracy Profiler(https://github.com/wolfpld/tracy).


This is a live profiler, meaning you need to launch a separate app that would listen to your application.
To build Tracy you need to run these two commands from tracy directory (libs/tracy, in our case)


cd libs/tracy && cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release

This would generate the build for config for us and
cmake --build profiler/build --config Release --parallel

would actually build it.


After compiling it would generate the executable in release folder (libs/tracy/profiler/build/Release). Run tracy and then the target app, in tracy you'd be able to connect to your app and see the profiler.


Running it would look like


.\profiler\build\Release\tracy-profiler.exe

from libs/tracy. Or


 .\libs\tracy\profiler\build\Release\tracy-profiler.exe  

From engine (repo) base directory.


You can, of cource, run it by opening up this directory in your file explorer.