renqibing / FaceGenBaseLibrary

A simple cross-platform C++11 library for developing computational 3D graphics applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FaceGen Base Library

Copyright (c) 2018 Singular Inversions Inc.

A simple cross-platform C++11 library for developing computational 3D graphics applications.

Features

  • 3D mesh IO, manipulation, hardware and software rendering.
  • Imaging IO, manipulation
  • Linear algebra with solvers
  • Ultra-simple declarative GUI (currently only implemented for Windows)
  • Cross platform build file construction tool.
  • Command-line interface tools with pretty-print.
  • Unicode, filesystem, diagnostics, data packaging, etc.
  • Support for VS2013,2015,2017 on Win, gcc & clang on Ubuntu and macOS. Warning-free compiles on -Wall.

Design

  • Emphasis on clear, correct code rather than premature optimization.
  • Functional and declarative design in as much as makes sense for C++.
    • Extensive use of return value elision.
    • Declarative GUI layout, declarative dependency graph for computations.
  • Minimal OOP-fuscation; Some member functions and constructors, few private members, no inheritance.
    • Prefer std::function and std::bind to abstract class interface.
  • Templates are used when they provide clear benefit; Avoid complex template metaprogramming.
  • Exceptions and RAII used throughout.
  • Compiles out of the box; No dependencies, install scripts or special make packages required.
  • Different compiler / configuration object files are kept in different directories for fast switching.
  • No global namespace; identifiers begin with 'fg', 'Fg' or 'FG_'.
  • Conventions: camelCase, K&R brackets, FG_MACRO/FgType/fgVar/fgFunction, why-not-what comments.

About

A simple cross-platform C++11 library for developing computational 3D graphics applications.

License:MIT License


Languages

Language:C++ 86.9%Language:Mathematica 8.3%Language:C 2.6%Language:HTML 1.7%Language:Makefile 0.2%Language:Shell 0.2%Language:CMake 0.0%Language:XSLT 0.0%Language:Perl 0.0%Language:Batchfile 0.0%Language:CSS 0.0%