/SimpleGraphicsLibrary

A user-friendly graphics library for beginners, offering a simplified approach to OpenGL programming with easy-to-understand functions and minimalistic features. It's based off the tinyrenderer repository.

Primary LanguageC++OtherNOASSERTION

Simple Graphics Library

GitHub Repo stars Translate

Table of Contents

Description

Embark on an exciting journey into the realm of 3D graphics with SimpleGraphicsLibrary, a project designed for aspiring programmers eager to explore the fundamentals of computer graphics using C++. This OpenGL-inspired endeavor is perfect for amateurs seeking hands-on experience in rendering simple 3D scenes.

Getting Started

Installing

Make sure to download cmake and ninja before compiling the program.

Cmake

Ninja

First, navigate to the directory you want to have your project.

cd path/to/your/directory

Next, clone the repository.

git clone https://github.com/BoyManWamen/SimpleGraphicsLibrary.git

Once you have cloned the repository, you can now move into the project directory.

cd SimpleGraphicsLibrary

Make the build directory.

mkdir build

Change your directory to build.

cd build

You can create the executable with cmake.

cmake ../src/
cmake --build . -j

TGA files can be used as input for the executable in the obj directory.

./simplegraphicslibrary ../obj/{object_name}/{object_name.obj}

You can create the obj directory doing a terminal command.

mkdir obj

Version History

  • 1.0.0
    • Initial Release

Credits

Dmitry V. Sokolov

tinyrenderer Repo