Module wavefront_obj::mtl [−][src]
Expand description
A parser for Wavefront’s .mtl
file format, for storing information about
the material of which a 3D mesh is composed.
Structs
A single material that can be applied to any face. They are generally applied by using the Phong shading model.
A set of materials in one .mtl
file.
A parsing error, with location information.
Enums
How a given material is supposed to be illuminated.
Functions
Parses a wavefront .mtl
file, returning either the successfully parsed
file, or an error. Support in this parser for the full file format is
best-effort and realistically I will only end up supporting the subset
of the file format which falls under the “shit I see exported from blender”
category.