This project is a simple C++ application that uses OpenGL and GLFW to render a 3D sphere on the screen. The project includes functions to initialize the OpenGL context, create a window, and render the sphere.
Luis Antônio Andrade de Albuquerque - 557472
Lia Linhares Carvakhedo - 554165
Before you begin, ensure you have the following installed on your system:
- CMake 3.29 or higher
- A C++ compiler that supports C++20
- OpenGL
- GLFW
- GLEW
-
Clone the repository:
git clone https://github.com/yourusername/CG.git cd CG -
Create a build directory and navigate into it:
mkdir build cd build -
Run CMake to configure the project:
cmake ..
-
Build the project:
make
After building the project, you can run the executable:
./CG