Skip to content

GeorgeK07/SFML-3DRenderer

Repository files navigation

SFML-3DRenderer

A very basic 3D renderer based on this video (https://www.youtube.com/watch?v=FLlbYUdca9s), rendering the vertices of a cube made in SFML with C++, adhering to Object Oriented Programming design principles.

2025-11-23.23-30-44.mp4

Controls

Left - Camera X Decrease
Right - Camera X Increase
LShift - Camera Y Decrease
Space - Camera Y Decrease
Down - Camera Z Decrease
Up - Camera Z Decrease
Q - Pitch Angle Decrease
W - Pitch Angle Increase
A - Yaw Angle Decrease
S - Yaw Angle Increase
Z - Roll Angle Decrease
X - Roll Angle Increase
E - Focal Length Decrease
R - Focal Length Increase

Build

This program was built and tested with:

  • Windows 10 22H2
    • mingw-w64-ucrt-x86_64-gcc 15.2.0-1
    • mingw-w64-ucrt-x86_64-sfml 3.0.2-1

It will most likely work with newer or older versions and other operating systems, however, there may be some breaking changes that cause it not to build or run.

License

This program is licensed under the GNU GPL-3.0-or-later

Credits

Thanks to The Unqualified Tutor (https://www.youtube.com/@TheUnqualifiedTutor) for making this video
(https://www.youtube.com/watch?v=FLlbYUdca9s)

PublicPixel font (https://ggbot.itch.io/public-pixel-font) by GGBotNet
This Font Software is licensed under the Creative Commons Zero v1.0 Universal.
This license is available with a FAQ at: https://creativecommons.org/publicdomain/zero/1.0/\

About

A very basic 3D renderer based on this video (https://www.youtube.com/watch?v=FLlbYUdca9s), rendering the vertices of a cube made in SFML with C++, adhering to Object Oriented Programming design principles.

Resources

License

GPL-3.0, CC0-1.0 licenses found

Licenses found

GPL-3.0
COPYING
CC0-1.0
PublicPixel-License.txt

Stars

Watchers

Forks

Packages

 
 
 

Contributors