项目作者: Viliami

项目描述 :
3D chess game made in OpenGL
高级语言: C++
项目地址: git://github.com/Viliami/3D-Chess.git
创建时间: 2015-10-09T07:28:12Z
项目社区:https://github.com/Viliami/3D-Chess

开源协议:GNU General Public License v2.0

下载


3D-Chess

3D chess game made in OpenGL

Alt text

Dependencies

  • Freeglut3 (Opensource version of GLUT).
  • GLEW (GL extensions wrangler library).
  • Assimp model loader.
  • SOIL image loader.
  • A compiler with at least C++11 support.

Compiling the program

  • Using make file:
    1. make
  • Using compiler flags:
    1. -lGL -lGLU -lglut -lGLEW -lassimp -lSOIL -w -std=c++11
  • Example:
    1. g++ main.cpp pieces.cpp textfile.cpp -lGL -lGLU -lglut -lGLEW -lassimp -lSOIL -w -std=c++11 -o Chess3D

Linux install commands for each dependency

  1. //Universe repo needed for SOIL and Assimp installations
  2. sudo apt-add repository universe
  3. sudo apt-get update
  4. sudo apt-get install freeglut3-dev libglew1.6-dev libassimp-dev libsoil-dev

3D models

Models used in this game are from 3dvia.com and are all made by user jdelrio: http://www.3dvia.com/users/jdelrio

They are used under the following license: http://creativecommons.org/licenses/by/2.5/