Skip to content
/ vector Public

Small (incomplete) 2D/3D game engine using OpenGL.

License

Notifications You must be signed in to change notification settings

dmcg310/vector

Repository files navigation

vector

Vector is a small, incomplete, 2D/3D game engine written in C++. Currently using OpenGL for rendering.

Features

  • 2D/3D rendering
  • Scene graph
  • Shaders
  • Textures
  • Camera system
  • Phong lighting
  • Input handling
  • ImGui integration

Phong lighting Demo

Dependencies

To build and run Vector, you will need the following dependencies:

  • Cmake (Version 3.25 or higher)
  • vcpkg (For installing dependencies, can be installed through setup.py)
  • C++17 compatible compiler
  • OpenGL (Version 3.3 or higher)
  • Python (For running the build script)

Installation Instructions

1. Clone the Repository

git clone https://github.com/dmcg310/vector.git
cd vector

2. Install Python Dependencies

Ensure you have Python 3 installed. Then install the required Python packages:

pip install -r requirements.txt

3. Run the Setup Script

Run the setup script to install vcpkg, install dependencies, and build the project:

python setup.py

The setup script will:

  • Ask if vcpkg is already installed.
  • If not, it will prompt for a directory to install vcpkg.
  • Install necessary dependencies using vcpkg.
  • Build the project using CMake.

4. Run the Project

After building, navigate to the vector/build directory and run the appropriate executable for your platform.

MacOS/Linux

./application/application

Windows

Debug:

.\application\Debug\application.exe

Release:

.\application\Release\application.exe

Platform-Specific Notes

Windows

Ensure that you have the Visual Studio installed.

MacOS

Ensure that you have the Xcode command line tools installed.

Linux

Ensure that you have the necessary development packages installed. You may need to install OpenGL development libraries, e.g. libgl1-mesa-dev.

License

This project is licensed under the MIT License.

About

Small (incomplete) 2D/3D game engine using OpenGL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages