Skip to content

willy2dg/FaceGenBaseLibrary

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.4%
  • Mathematica 4.5%
  • C 2.0%
  • HTML 1.9%
  • Makefile 0.1%
  • Shell 0.1%