GithubHelp home page GithubHelp logo

gabriel-russo / clion-opengl-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 660 KB

CLion starting point for creating modern OpenGL applications in C.

CMake 16.78% C 25.47% C++ 40.04% Makefile 17.70%
opengl unir clion template texture computer-graphics tga linux

clion-opengl-template's Introduction

clion-opengl-template

[en-US] --------------------

CLion starting point (boilerplate) for creating modern OpenGL applications in C in Linux.

The current scene contains a 3D spinning cube whith a texture (only works with .tga image). You can spin the object by left-clicking and dragging on the window.

Cmake -> If you have a better solution to make the texture works in /src/texture directory using cmakelist.txt, you are welcome to pull request.

[pt-BR] --------------------

Um template base para começar projetos com OpenGL no IDE Clion, usando a linguagem C no linux.

A cena do programa atual contem um cubo 3D que gira em todas as direções, com uma textura aplicada (apenas funciona com imagens .tga).

Voce pode girar o cubo segurando o botão esquerdo do mouse e arrastando dentro da janela.

Cmake -> Se voce tiver uma solução melhor para fazer a textura funcionar no diretório /src/texture usando o cmakelist.txt, fique a vontade para dar pull request.

Installation will be in Portuguese-BR language.

Instalação

Instale todos os pacotes necessários para o OpenGL funcionar, por exemplo:

sudo apt-get install libglew-dev

Declaração

#include <GL/glew.h>
#include "tgaload.h" //encontra em: /include

Screenshots

screenshot 1

Contributing

Pull requests are welcome.

License

You are free to do whatever you want with this project.

Special Thanks to Prof. Dr. Carolina Yukari Veludo Watanabe for teaching Computer Graphics.

alt tag

Computer Graphics - UNIR - 2021 class

clion-opengl-template's People

Contributors

gabriel-russo 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.