Giter VIP home page Giter VIP logo

usp.ach2117.cubo-3d's Introduction

USP - ACH2117 - Cubo 3D

Implementação de um cubo 3D em movimentação utilizando OpenGL

O cubo foi implementado utilizando as bibliotecas moderngl e moderngl_window

A partir da posição inicial com centro no vértice (0,0,0) e tamanho de aresta 1, foram aplicadas rotações e translações para a movimentação e posição do cubo. Também foi utilizada uma textura no formato de uma caixa em cada face do cubo

Para fazer os cálculos de rotação, translação e projeção perspectiva, a biblioteca PyGLM foi utilizada

Como executar?

Instale as dependências do projeto:

python install -r requirements.txt

Após, é só rodar o script principal:

python main.py

Warning A versão Python 3.10 foi utilizada

Note A tela ficará em fullscreen. Para sair do programa, basta apertar ESC

usp.ach2117.cubo-3d's People

Contributors

willpinha 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.