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
- Host: GitHub
- URL: https://github.com/ptitseb/libgsalt
- Owner: ptitSeb
- License: gpl-2.0
- Created: 2016-01-09T14:08:44.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-31T16:19:34.000Z (over 9 years ago)
- Last Synced: 2025-06-02T04:36:22.654Z (9 months ago)
- Language: C++
- Homepage:
- Size: 171 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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*