mash
3D mesh manipulation library.
Supported formats
All formats are enabled by default when including mash
as a dependency.
In order to pick and choose which formats are supported, explicitly set which features you want to enable.
[]
= { = "1.0", = false, = ["wavefront"]}
Architecture
Models are first loaded into memory into format-specific structures, to allow the most flexibility.
You will find documentation for these types inside the relevant load/<format>
module.
Once the relevant objects/groups/triangles are separated out, the models can then converted into a
format-independent representation - mash::Model
.
The basic workflow looks like this
extern crate mash;
use load;
type Vertex = Vector;
type Index = u32;
type Model = Model;