An open API service indexing awesome lists of open source software.

https://github.com/ptitseb/libgsalt

Grain of SALT, the Geometry Simplification At Load Time library
https://github.com/ptitseb/libgsalt

Last synced: 17 days ago
JSON representation

Grain of SALT, the Geometry Simplification At Load Time library

Awesome Lists containing this project

README

          

# 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*