pierrechls / bec3-artistic

Artistic installation realised in OpenGL, SDL, FMOD and Bec3-lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version Build status Platform

BeC3 artistic installation

Artistic installation realised in OpenGL, SDL, FMOD and BeC3-lib. Project realised in IMAC Engineering School, using the BeC3 library, a C++ library created by Pierre Charles, Jérome Hernandez and Corentin Limoge

How to use it

####Run WebLite API

Linux and Mac OSX :

./weblite-api

Windows :

./weblite-api.bat

Open a new terminal window and clone the project

git clone https://github.com/PierreChls/BeC3-artistic.git

####Create a JSON configuration file

{
  "user": {
    "login"    : "YOUR_LOGIN",
    "password" : "YOUR_PASSWORD" 
  },
  "objects" : [
    {
      "id"   : "Texture",
      "type" : "light"
    },
    {
      "id"   : "Cercles",
      "type" : "light"
    },
    {
      "id"   : "Musique",
      "type" : "light"
    },
    {
      "id"   : "Etoiles",
      "type" : "light"
    },
    {
      "id"   : "Satelite",
      "type" : "light"
    }
  ]
}
  • Copy/paste this text on your json file
  • Name this file : Bec3.json
  • Put it in the project/assets/conf/ folder
  • Complete with your login and password BeC3 account

Build

cd Bec3Artistic/build
cmake ../project
make

Run project

./template/artistic

##Prior installation

###For Mac users, install brew, a really cool package manager

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

###You need CMake

Linux :

$ sudo apt-get install cmake

Mac OSX :

$ brew install cmake

###You need some libs

####GLEW

Linux :

$ sudo apt-get install glew

Mac OSX :

$ brew install glew

####SDL2

Linux :

$ sudo apt-get install libsdl2-dev

Mac OSX :

$ brew install sdl2

####FMOD

Download FMOD Ex API

####CURL

Download CURL

###You need install Web-Lite API (created by Bec3)

About

Artistic installation realised in OpenGL, SDL, FMOD and Bec3-lib


Languages

Language:C++ 87.7%Language:CMake 9.5%Language:C 1.4%Language:GLSL 1.3%