chadthecoder / graphicsProject

Graphics project using SDL2, ASIO OPENGL, GLEW, WebGL, miniaudio, stb (Only stb_image.h right now), assimp (implementing now), PerlinNoise from Reputeless, and GLM. Following multiple tutorials to learn how to code graphics in C++.
0 stars 3 forks source link

Graphics Project with SDL2, ASIO, OpenGL using GLEW, and GLM

This is a graphics project written in C++ that utilizes SDL2 and OpenGL using GLEW and GLM libraries to create graphical applications. The project aims to provide a starting point for learning graphics programming in C++. The pong game has been moved to https://github.com/chadthecoder/NetworkPongGame as it is now its own project to work on using what I have learned while experimenting in this repo.

Here are two drawings I made to show how the cube should be rendered using my current plan. Alt text Alt text

Prerequisites

Before you begin, ensure you have the following dependencies installed on your system:

Getting Started

  1. Clone this repository to your local machine:

    
    git clone https://github.com/yourusername/graphics-project.git
    
    cd graphics-project
    
  2. Build the project using CMake:

    
    cd pingPong
    
    make lin (make win for Windows)
    
  3. Run the compiled executable:

    
    make runLin (make runWin for Windows)
    
  4. Clean the compiled executable (If needed):

    
    make cleanLin (make cleanWin for Windows)
    

Project Structure

In Each Project Structure

Resources

Here are some resources to help you learn more about the libraries used in this project:

Contributing

If you'd like to contribute to this project, feel free to submit pull requests or open issues.

Replace "https://github.com/yourusername/graphics-project.git" with the actual URL of your project's repository.