https://github.com/adlarx9/3d-engine-ascii
Un moteur 3D et générateur de vidéos rudimentaire en C++ affichant les résultats dans un terminal.
https://github.com/adlarx9/3d-engine-ascii
3d maths objects-and-classes
Last synced: about 1 month ago
JSON representation
Un moteur 3D et générateur de vidéos rudimentaire en C++ affichant les résultats dans un terminal.
- Host: GitHub
- URL: https://github.com/adlarx9/3d-engine-ascii
- Owner: AdlarX9
- Created: 2024-05-27T13:14:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-23T21:42:36.000Z (12 months ago)
- Last Synced: 2025-04-23T22:31:28.747Z (12 months ago)
- Topics: 3d, maths, objects-and-classes
- Language: C++
- Homepage:
- Size: 2.63 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
"three.cpp" and "three.hpp" are two files defining the different objects required for the program. It is possible to create images or videos, save them in text files, and replay them from the same file.
"main.cpp" is an example of creating a 3D scene and producing a video. "video.txt" and "large-video.txt" are two examples of videos created by me using the program.
Overall, the program is relatively simple to understand. If you want to explore all the objects and their member functions, read the comments in "three.hpp", which serves as a mini-documentation.
If any errors arise, let me know and/or fix them. There might be a few bugs :)
If you want to run the program on your own:
```bash
g++ -std=c++14 main.cpp three.cpp -o main && ./main
```
# Examples
