Git Product home page Git Product logo

fogl's Introduction

FOGL

Asynchronous model/view/controller engine/framework; under construction.

Requirements:

  • Python 2.7 or 3.4 -- for GL3W
  • OpenMP -- for future parallel computation
  • Clang or any compiler with support for C++11 and OpenMP
  • OpenGL 3.30 Core or better
  • OpenGL -- Utility Library (GLU)
  • GL3W -- OpenGL extension loading
  • GLFW -- windows with OpenGL and event handling
  • SOIL -- Simple OpenGL Image Library
  • Boost -- versatile C++ support library
  • Doxygen (optional) -- see Documentation section
  • Graphviz (optional) -- see Documentation section

Several of these requirements can be installed via the command line rather than manually (download/configure/build/install):

sudo apt-get install build-essential clang libomp-dev

sudo apt-get install python3 libboost-all-dev libgl1-mesa-dev libglu1-mesa-dev libsoil-dev

sudo apt-get install doxygen graphviz texlive-latex-base latex-make latex-mk

You cannot install gl3w the same way; it must be run locally (see Building)

Documentation

Comments for declarations are kept in the project headers, and use the QT variant of Doxygen formatting. To generate HTML and/or LaTex from these comments, simply run doxygen from the doc directory, with or without modifying the Doxyfile to your liking.

Building:

  1. Run git clone https://github.com/skaslev/gl3w ../gl3w

  2. In ../gl3w/, run python gl3w_gen.py or python3 gl3w_gen.py to generate OpenGL headers

  3. Run git clone https://github.com/boostorg/boost ../boost

  4. In ../boost/, run bootstrap.sh, then b2

  5. In ./, Update Makefile as necessary, then run make

  6. Run one of the following:

a. ln -s ../gl3w/libgl3w.so your_path where your_path is a directory in your LD_LIBRARY_PATH

b. Add :../gl3w/ to the tail of your LD_LIBRARY_PATH

The Makefile targets gl3w for convenience, but building gl3w separately is always an option. OpenGL and GLU are not provided by gl3w; Boost and other dependencies are not targeted and must be met or made independently.

All of the requirements support Linux, Windows, and OS X. This project only supports Linux, but will support Windows XP or better before release.

Todo:

  • include/util/types.hpp (152) Distinguish between permutations with and without duplicates; the current permutation test relies on the exclusive-or of two parameter packs, not necessarily sets
  • include/system.hpp (13) Remove file reading function and more in favor of in-place ifstream, etc.
  • Support multiple groups/objects in Wavefront obj
  • Support mtl for Wavefront obj
  • Migrate from GLFW to GTK

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.