Skip to content

NitishPuri/tinygl

Repository files navigation

TinyGL

A tiny software renderer using c++.

Use Bitmap library for more robust image read/write

https://github.com/ArashPartow/bitmap

Use win32 api for windowing?

https://docs.microsoft.com/en-us/windows/win32/learnwin32/learn-to-program-for-windows--sample-code

Use Eigen for Matrix and vector stuff.

https://github.com/eigenteam/eigen-git-mirror

Use FastPix3D for example usage on windowing system, architecture and optimizations.

https://github.com/bytecode77/fastpix3d

Another software renderer for reference.

https://github.com/slobodin/software-renderer https://github.com/DCubix/3D-Software-Renderer

Move to raytracing???

https://github.com/bytecode77/literay

Setup Instructions

Windows/MSVC

If you have MSVC installed on your system. Well you are already done with the setup.
Just clone the repository, open the folder with "Open Folder" option.
Alternatively, generate the solution file for your VS version from cmake scripts.

Windows/CLang

You can install LLVM from (http://releases.llvm.org/download.html#9.0.0).
You would also need CMake.
You can use any text editor or your choice. Recommended VSCode.
-->> Add "launch.json" for debuggin support in this configuration.

Linux/GCC

Install GCC, CMake, VSCode.

Mac/CLang

You don't really deserve to write C++ code.
But you can still use CLang, CMake, "your preferred code editor".

About

A tiny software renderer using c++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published