/StarDust

A multipurpose rendering engine

Primary LanguageC++MIT LicenseMIT

Stardust

Universal

Goals and Features

Stardust is a 2D and 3D C++ rendering engine built with OpenGL. The direction of this project along with the API is subject to change. Currently it is a hobby project and is not intended for production use. The rendering engine is supposed to support low level and high level rendering.

Installation prerequisites

The Stardust engine is built with CMake and requires installation of the following dependencies:

The Stardust library also uses the following dependencies which are included in the repository (under the Code/3rdParty directory):

Library installation

  1. Clone the repository
git clone https://github.com/scorp18pl/StarDust.git
cd StarDust
  1. Create a build directory and proceed to it
cd Code
mkdir build && cd build
  1. Install the library with CMake
cmake .. -DCMAKE_BUILD_TYPE=Release
sudo make install

Using the library (CMake)

In your project's CMakeLists.txt file add the following lines:

  1. Find the library alongside the dependencies
find_library(UNIVERSAL universal)
find_library(STARDUST stardust)
find_package(glfw3 REQUIRED)
  1. Link the libraries to your project
target_link_libraries(main PRIVATE ${STARDUST} ${UNIVERSAL} glfw)