Grain of SALT, the Geometry Simplification At Load Time library
GSalt is a library tobe used to simplifiy geometry at load time.
That means:
- Simplify geometry: remove vertex/triangle from a model, while still trying to maintain visual aspect
- 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"
Simply
cmake
make
sudo make install
You'll need a C++ compiler for it.
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