Coder Social home page Coder Social logo

mini-billiard's Introduction

🥢🎱 Mini Billiard

🔖 Description

This project was designed for a practical assignment for the subject “3D Programming”, which consists of creating a scene with a table and billiard balls, using the contents of OpenGL with VAOs, VBOs, EBOs/IBOs, Shaders, etc.., and then applying collisions and animations to the balls to simulate a shot.

⌨️ Keys

The keys are very simple, here is a list of the keys that is being listened:

  • Mouse - Left Click + Drag: To rotate the camera depending on which side you are dragging.
  • Mouse Scroll: To change the zoom of the scene.
  • Space: To animate a random ball.
  • Key 1: To enable/disable the ambient light.
  • Key 2: To enable/disable the directional light.
  • Key 3: To enable/disable the point light.
  • Key 4: To enable/disable the spot light.

🕹 Images & Videos

1 2

Gravacao.do.ecra.2024-06-07.as.15.38.40.mov

⚙️ How to build the project

git clone https://github.com/0rangeFox/Mini-Billiard.git
cd Mini-Billiard
git submodule update --init
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make && sudo make install

📁 Materials

The materials provided in the project are for testing purposes only and were made available by the teacher. I don't know their origin, only the shaders were made by us. If any of the respective files are not authorized to be published, please let me know so that I can make the necessary changes accordingly.

📝 License

Copyright © 2024 João Fernandes & Tiago Mendes.
This project is MIT licensed.

mini-billiard's People

Contributors

0rangefox avatar mendes001 avatar

Stargazers

José Figueiredo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.