/libgsalt

Grain of SALT, the Geometry Simplification At Load Time library

Primary LanguageC++GNU General Public License v2.0GPL-2.0

libgsalt

Grain of SALT, the Geometry Simplification At Load Time library

Introduction

GSalt is a library tobe used to simplifiy geometry at load time.

That means:

  1. Simplify geometry: remove vertex/triangle from a model, while still trying to maintain visual aspect
  2. A load time: because it may takes time, so don't expect realtime "LOD" algorythms (LOD = Level Of Detail)

The library use the algorithm by Mickael Garland "Surface simplification using quadric metrics"

Build

Simply

cmake
make
sudo make install

You'll need a C++ compiler for it.

Use

v0.1 only have single texture and no batch feed of vertex/triangle.

You can find an example in the examples folder. The SimpleViewer can show "obj" mesh and you optionnaly can reduce the triangles count by command line.

Generic method to use gslat: TODO