This project demonstrates how to render and animate the letters "ytext" in 3D using OpenGL and GLFW. The letters continuously change their color with smooth RGB transitions, creating a visually captivating experience.
- 3D Rendering: The letters "y", "t", "e", "x", and "t" are drawn in 3D space using OpenGL.
- RGB Color Transitions: The color of the letters transitions smoothly in the RGB color space.
- Real-Time Animation: The letters rotate and update their colors in real-time.
- Written in C++: Built with C++ using OpenGL, GLFW, and GLAD.
Before building and running the project, make sure you have the following libraries installed on your system:
- GLFW: Window management and input handling.
- GLEW: OpenGL Extension Wrangler to manage OpenGL extensions.
- GLU: OpenGL utility library.
To install the required dependencies on Arch Linux, use the following commands:
sudo pacman -Syu
sudo pacman -S glfw-x11
sudo pacman -S glu
sudo pacman -S glew
If GLAD is not available via pacman
, you can manually install it by following the steps below.
-
Clone the GLAD repository:
git clone https://github.com/Dav1dde/glad.git cd glad
-
Generate the loader using CMake:
cmake . make sudo make install
-
Clone the rep
-
Create a build directory:
mkdir build cd build
-
Run CMake to configure the project:
cmake ..
-
Compile the project:
make
-
Run the program:
./world.cpp
World/
│
├── CMakeLists.txt # Build configuration file
├── world.cpp # C++ source code for rendering
└── README.md # Project documentation