Skip to content

Grain of SALT, the Geometry Simplification At Load Time library

License

Notifications You must be signed in to change notification settings

ptitSeb/libgsalt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Grain of SALT, the Geometry Simplification At Load Time library

Resources

License

Stars

Watchers

Forks

Packages

No packages published